@Override public BackendEntry writePropertyKey(PropertyKey propertyKey) { TableBackendEntry entry = newBackendEntry(propertyKey); entry.column(HugeKeys.ID, propertyKey.id().asLong()); entry.column(HugeKeys.NAME, propertyKey.name()); entry.column(HugeKeys.DATA_TYPE, propertyKey.dataType().code()); entry.column(HugeKeys.CARDINALITY, propertyKey.cardinality().code()); entry.column(HugeKeys.PROPERTIES, this.toLongSet(propertyKey.properties())); this.writeUserdata(propertyKey, entry); entry.column(HugeKeys.STATUS, propertyKey.status().code()); return entry; }
@Override public BackendEntry writePropertyKey(PropertyKey propertyKey) { TableBackendEntry entry = newBackendEntry(propertyKey); entry.column(HugeKeys.ID, propertyKey.id().asLong()); entry.column(HugeKeys.NAME, propertyKey.name()); entry.column(HugeKeys.DATA_TYPE, propertyKey.dataType().code()); entry.column(HugeKeys.CARDINALITY, propertyKey.cardinality().code()); entry.column(HugeKeys.PROPERTIES, this.toLongSet(propertyKey.properties())); this.writeUserdata(propertyKey, entry); entry.column(HugeKeys.STATUS, propertyKey.status().code()); return entry; }