示例#1
0
 @Override
 RecordReference<DynamicRecord> record(RecordAccess records) {
   switch (type) {
     case STRING_PROPERTY:
       return records.string(id);
     case ARRAY_PROPERTY:
       return records.array(id);
     case PROPERTY_KEY_NAME:
       return records.propertyKeyName((int) id);
     case RELATIONSHIP_LABEL_NAME:
       return records.relationshipTypeName((int) id);
     default:
       return skipReference();
   }
 }
示例#2
0
 @Override
 RecordReference<PropertyRecord> record(RecordAccess records) {
   return records.property(id);
 }
示例#3
0
 @Override
 RecordReference<RelationshipTypeTokenRecord> record(RecordAccess records) {
   return records.relationshipType(id);
 }
示例#4
0
 @Override
 RecordReference<LabelTokenRecord> record(RecordAccess records) {
   return records.label(id);
 }