• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/persist/impl/

Lines Matching defs:fields

27  * other complex classes have fields, and the Accessor interface is used to
28 * access those fields. Composite key classes are different in the following
33 * - All instance fields must be annotated with @KeyField, which determines
36 * - Although fields may be reference types (primitive wrappers or other simple
39 * classs of the field; i.e., no polymorphism is allowed for key fields.
52 * Accessor's non-key fields as its key fields. The Accessor's key fields
53 * are secondary keys, while the composite format's key fields are the
63 private List<FieldInfo> fields;
99 /* Populate fields list in fieldNames order. */
101 fields = new ArrayList<FieldInfo>(instanceFields.size());
115 fields.add(field);
125 ("All composite key instance fields must be key fields: " +
133 for (FieldInfo field : fields) {
163 for (RawField field : fields) {
175 for (FieldInfo field : fields) {
182 /* Initialize all fields. */
183 for (FieldInfo field : fields) {
192 objAccessor = new ReflectionAccessor(catalog, type, fields);
195 rawAccessor = new RawAccessor(this, fields);
236 myFields = new FieldInfo[fields.size()];
237 fields.toArray(myFields);
256 int maxNum = fields.size();
258 fields.get(i).getType().skipContents(input);
264 int maxNum = fields.size();
266 fields.get(i).getType().copySecKey(input, output);
272 if (fields.size() != 1) {
277 return fields.get(0).getType().getSequenceKeyFormat();
293 /* Check for added or removed key fields. */
294 if (fields.size() != newFormat.fields.size()) {
297 "Composite key class fields were added or removed ",
298 "Old fields: " + fields +
299 " new fields: " + newFormat.fields);
303 /* Check for modified key fields. */
305 for (int i = 0; i < fields.size(); i += 1) {
307 (this, newFormat, fields.get(i),
308 newFormat.fields.get(i));