• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/java/src/com/sleepycat/persist/impl/

Lines Matching defs:fields

28  * other complex classes have fields, and the Accessor interface is used to
29 * access those fields. Composite key classes are different in the following
34 * - All instance fields must be annotated with @KeyField, which determines
37 * - Although fields may be reference types (primitive wrappers or other simple
40 * classs of the field; i.e., no polymorphism is allowed for key fields.
53 * Accessor's non-key fields as its key fields. The Accessor's key fields
54 * are secondary keys, while the composite format's key fields are the
64 private List<FieldInfo> fields;
111 /* Populate fields list in fieldNames order. */
114 fields = new ArrayList<FieldInfo>(instanceFields.size());
128 fields.add(field);
140 ("All composite key instance fields must be key fields: " +
146 return fields;
152 for (FieldInfo field : fields) {
182 for (RawField field : fields) {
194 for (FieldInfo field : fields) {
201 /* Initialize all fields. */
202 for (FieldInfo field : fields) {
209 objAccessor = new EnhancedAccessor(catalog, type, fields);
211 objAccessor = new ReflectionAccessor(catalog, type, fields);
214 rawAccessor = new RawAccessor(this, fields);
255 myFields = new FieldInfo[fields.size()];
256 fields.toArray(myFields);
275 int maxNum = fields.size();
277 fields.get(i).getType().skipContents(input);
283 int maxNum = fields.size();
285 fields.get(i).getType().copySecKey(input, output);
291 if (fields.size() != 1) {
296 return fields.get(0).getType().getSequenceKeyFormat();
312 /* Check for added or removed key fields. */
313 if (fields.size() != newFormat.fields.size()) {
316 "Composite key class fields were added or removed ",
317 "Old fields: " + fields +
318 " new fields: " + newFormat.fields);
322 /* Check for modified key fields. */
324 for (int i = 0; i < fields.size(); i += 1) {
326 (this, newFormat, fields.get(i),
327 newFormat.fields.get(i));