Example #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();
   }
 }
Example #2
0
 @Override
 RecordReference<PropertyRecord> record(RecordAccess records) {
   return records.property(id);
 }
Example #3
0
 @Override
 RecordReference<RelationshipTypeTokenRecord> record(RecordAccess records) {
   return records.relationshipType(id);
 }
Example #4
0
 @Override
 RecordReference<LabelTokenRecord> record(RecordAccess records) {
   return records.label(id);
 }