@@ -33,18 +33,18 @@ private Attributes() {
33
33
}
34
34
35
35
public static <T > AttributeSupplier <T > binaryAttribute (String attributeName ,
36
- Function <T , ByteBuffer > getAttributeMethod ,
37
- BiConsumer <T , ByteBuffer > updateItemMethod ) {
36
+ Function <T , ByteBuffer > getAttributeMethod ,
37
+ BiConsumer <T , ByteBuffer > updateItemMethod ) {
38
38
return Attribute .create (
39
39
attributeName ,
40
40
getAttributeMethod ,
41
41
updateItemMethod ,
42
42
AttributeTypes .binaryType ());
43
43
}
44
44
45
- public static <T > AttributeSupplier <T > binaryAttributeSet (String attributeName ,
46
- Function <T , Set <ByteBuffer >> getAttributeMethod ,
47
- BiConsumer <T , Set <ByteBuffer >> updateItemMethod ) {
45
+ public static <T > AttributeSupplier <T > binarySetAttribute (String attributeName ,
46
+ Function <T , Set <ByteBuffer >> getAttributeMethod ,
47
+ BiConsumer <T , Set <ByteBuffer >> updateItemMethod ) {
48
48
return Attribute .create (
49
49
attributeName ,
50
50
getAttributeMethod ,
@@ -53,8 +53,8 @@ public static <T> AttributeSupplier<T> binaryAttributeSet(String attributeName,
53
53
}
54
54
55
55
public static <T > AttributeSupplier <T > boolAttribute (String attributeName ,
56
- Function <T , Boolean > getAttributeMethod ,
57
- BiConsumer <T , Boolean > updateItemMethod ) {
56
+ Function <T , Boolean > getAttributeMethod ,
57
+ BiConsumer <T , Boolean > updateItemMethod ) {
58
58
return Attribute .create (
59
59
attributeName ,
60
60
getAttributeMethod ,
@@ -63,18 +63,18 @@ public static <T> AttributeSupplier<T> boolAttribute(String attributeName,
63
63
}
64
64
65
65
public static <T > AttributeSupplier <T > stringAttribute (String attributeName ,
66
- Function <T , String > getAttributeMethod ,
67
- BiConsumer <T , String > updateItemMethod ) {
66
+ Function <T , String > getAttributeMethod ,
67
+ BiConsumer <T , String > updateItemMethod ) {
68
68
return Attribute .create (
69
69
attributeName ,
70
70
getAttributeMethod ,
71
71
updateItemMethod ,
72
72
AttributeTypes .stringType ());
73
73
}
74
74
75
- public static <T > AttributeSupplier <T > stringAttributeSet (String attributeName ,
76
- Function <T , Set <String >> getAttributeMethod ,
77
- BiConsumer <T , Set <String >> updateItemMethod ) {
75
+ public static <T > AttributeSupplier <T > stringSetAttribute (String attributeName ,
76
+ Function <T , Set <String >> getAttributeMethod ,
77
+ BiConsumer <T , Set <String >> updateItemMethod ) {
78
78
return Attribute .create (
79
79
attributeName ,
80
80
getAttributeMethod ,
@@ -83,8 +83,8 @@ public static <T> AttributeSupplier<T> stringAttributeSet(String attributeName,
83
83
}
84
84
85
85
public static <T > AttributeSupplier <T > integerNumberAttribute (String attributeName ,
86
- Function <T , Integer > getAttributeMethod ,
87
- BiConsumer <T , Integer > updateItemMethod ) {
86
+ Function <T , Integer > getAttributeMethod ,
87
+ BiConsumer <T , Integer > updateItemMethod ) {
88
88
return Attribute .create (
89
89
attributeName ,
90
90
getAttributeMethod ,
@@ -93,8 +93,8 @@ public static <T> AttributeSupplier<T> integerNumberAttribute(String attributeNa
93
93
}
94
94
95
95
public static <T > AttributeSupplier <T > longNumberAttribute (String attributeName ,
96
- Function <T , Long > getAttributeMethod ,
97
- BiConsumer <T , Long > updateItemMethod ) {
96
+ Function <T , Long > getAttributeMethod ,
97
+ BiConsumer <T , Long > updateItemMethod ) {
98
98
return Attribute .create (
99
99
attributeName ,
100
100
getAttributeMethod ,
@@ -103,8 +103,8 @@ public static <T> AttributeSupplier<T> longNumberAttribute(String attributeName,
103
103
}
104
104
105
105
public static <T > AttributeSupplier <T > shortNumberAttribute (String attributeName ,
106
- Function <T , Short > getAttributeMethod ,
107
- BiConsumer <T , Short > updateItemMethod ) {
106
+ Function <T , Short > getAttributeMethod ,
107
+ BiConsumer <T , Short > updateItemMethod ) {
108
108
return Attribute .create (
109
109
attributeName ,
110
110
getAttributeMethod ,
@@ -113,8 +113,8 @@ public static <T> AttributeSupplier<T> shortNumberAttribute(String attributeName
113
113
}
114
114
115
115
public static <T > AttributeSupplier <T > doubleNumberAttribute (String attributeName ,
116
- Function <T , Double > getAttributeMethod ,
117
- BiConsumer <T , Double > updateItemMethod ) {
116
+ Function <T , Double > getAttributeMethod ,
117
+ BiConsumer <T , Double > updateItemMethod ) {
118
118
return Attribute .create (
119
119
attributeName ,
120
120
getAttributeMethod ,
@@ -123,8 +123,8 @@ public static <T> AttributeSupplier<T> doubleNumberAttribute(String attributeNam
123
123
}
124
124
125
125
public static <T > AttributeSupplier <T > floatNumberAttribute (String attributeName ,
126
- Function <T , Float > getAttributeMethod ,
127
- BiConsumer <T , Float > updateItemMethod ) {
126
+ Function <T , Float > getAttributeMethod ,
127
+ BiConsumer <T , Float > updateItemMethod ) {
128
128
return Attribute .create (
129
129
attributeName ,
130
130
getAttributeMethod ,
@@ -133,8 +133,8 @@ public static <T> AttributeSupplier<T> floatNumberAttribute(String attributeName
133
133
}
134
134
135
135
public static <T > AttributeSupplier <T > byteNumberAttribute (String attributeName ,
136
- Function <T , Byte > getAttributeMethod ,
137
- BiConsumer <T , Byte > updateItemMethod ) {
136
+ Function <T , Byte > getAttributeMethod ,
137
+ BiConsumer <T , Byte > updateItemMethod ) {
138
138
return Attribute .create (
139
139
attributeName ,
140
140
getAttributeMethod ,
@@ -143,8 +143,8 @@ public static <T> AttributeSupplier<T> byteNumberAttribute(String attributeName,
143
143
}
144
144
145
145
public static <T > AttributeSupplier <T > integerSetAttribute (String attributeName ,
146
- Function <T , Set <Integer >> getAttributeMethod ,
147
- BiConsumer <T , Set <Integer >> updateItemMethod ) {
146
+ Function <T , Set <Integer >> getAttributeMethod ,
147
+ BiConsumer <T , Set <Integer >> updateItemMethod ) {
148
148
return Attribute .create (
149
149
attributeName ,
150
150
getAttributeMethod ,
@@ -153,8 +153,8 @@ public static <T> AttributeSupplier<T> integerSetAttribute(String attributeName,
153
153
}
154
154
155
155
public static <T > AttributeSupplier <T > longSetAttribute (String attributeName ,
156
- Function <T , Set <Long >> getAttributeMethod ,
157
- BiConsumer <T , Set <Long >> updateItemMethod ) {
156
+ Function <T , Set <Long >> getAttributeMethod ,
157
+ BiConsumer <T , Set <Long >> updateItemMethod ) {
158
158
return Attribute .create (
159
159
attributeName ,
160
160
getAttributeMethod ,
@@ -163,8 +163,8 @@ public static <T> AttributeSupplier<T> longSetAttribute(String attributeName,
163
163
}
164
164
165
165
public static <T > AttributeSupplier <T > shortSetAttribute (String attributeName ,
166
- Function <T , Set <Short >> getAttributeMethod ,
167
- BiConsumer <T , Set <Short >> updateItemMethod ) {
166
+ Function <T , Set <Short >> getAttributeMethod ,
167
+ BiConsumer <T , Set <Short >> updateItemMethod ) {
168
168
return Attribute .create (
169
169
attributeName ,
170
170
getAttributeMethod ,
@@ -173,8 +173,8 @@ public static <T> AttributeSupplier<T> shortSetAttribute(String attributeName,
173
173
}
174
174
175
175
public static <T > AttributeSupplier <T > doubleSetAttribute (String attributeName ,
176
- Function <T , Set <Double >> getAttributeMethod ,
177
- BiConsumer <T , Set <Double >> updateItemMethod ) {
176
+ Function <T , Set <Double >> getAttributeMethod ,
177
+ BiConsumer <T , Set <Double >> updateItemMethod ) {
178
178
return Attribute .create (
179
179
attributeName ,
180
180
getAttributeMethod ,
@@ -183,8 +183,8 @@ public static <T> AttributeSupplier<T> doubleSetAttribute(String attributeName,
183
183
}
184
184
185
185
public static <T > AttributeSupplier <T > floatSetAttribute (String attributeName ,
186
- Function <T , Set <Float >> getAttributeMethod ,
187
- BiConsumer <T , Set <Float >> updateItemMethod ) {
186
+ Function <T , Set <Float >> getAttributeMethod ,
187
+ BiConsumer <T , Set <Float >> updateItemMethod ) {
188
188
return Attribute .create (
189
189
attributeName ,
190
190
getAttributeMethod ,
@@ -193,8 +193,8 @@ public static <T> AttributeSupplier<T> floatSetAttribute(String attributeName,
193
193
}
194
194
195
195
public static <T > AttributeSupplier <T > byteSetAttribute (String attributeName ,
196
- Function <T , Set <Byte >> getAttributeMethod ,
197
- BiConsumer <T , Set <Byte >> updateItemMethod ) {
196
+ Function <T , Set <Byte >> getAttributeMethod ,
197
+ BiConsumer <T , Set <Byte >> updateItemMethod ) {
198
198
return Attribute .create (
199
199
attributeName ,
200
200
getAttributeMethod ,
@@ -203,9 +203,9 @@ public static <T> AttributeSupplier<T> byteSetAttribute(String attributeName,
203
203
}
204
204
205
205
public static <T , K > AttributeSupplier <T > documentMapAttribute (String attributeName ,
206
- Function <T , K > getAttributeMethod ,
207
- BiConsumer <T , K > updateItemMethod ,
208
- TableSchema <K > documentSchema ) {
206
+ Function <T , K > getAttributeMethod ,
207
+ BiConsumer <T , K > updateItemMethod ,
208
+ TableSchema <K > documentSchema ) {
209
209
return Attribute .create (
210
210
attributeName ,
211
211
getAttributeMethod ,
@@ -214,9 +214,9 @@ public static <T, K> AttributeSupplier<T> documentMapAttribute(String attributeN
214
214
}
215
215
216
216
public static <T , K > AttributeSupplier <T > mapAttribute (String attributeName ,
217
- Function <T , Map <String , K >> getAttributeMethod ,
218
- BiConsumer <T , Map <String , K >> updateItemMethod ,
219
- AttributeType <K > mappedValueType ) {
217
+ Function <T , Map <String , K >> getAttributeMethod ,
218
+ BiConsumer <T , Map <String , K >> updateItemMethod ,
219
+ AttributeType <K > mappedValueType ) {
220
220
return Attribute .create (
221
221
attributeName ,
222
222
getAttributeMethod ,
@@ -225,9 +225,9 @@ public static <T, K> AttributeSupplier<T> mapAttribute(String attributeName,
225
225
}
226
226
227
227
public static <T , K > AttributeSupplier <T > listAttribute (String attributeName ,
228
- Function <T , List <K >> getAttributeMethod ,
229
- BiConsumer <T , List <K >> updateItemMethod ,
230
- AttributeType <K > listElementsType ) {
228
+ Function <T , List <K >> getAttributeMethod ,
229
+ BiConsumer <T , List <K >> updateItemMethod ,
230
+ AttributeType <K > listElementsType ) {
231
231
return Attribute .create (
232
232
attributeName ,
233
233
getAttributeMethod ,
0 commit comments