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