예제 #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);
 }