Class DatabeanFieldInfo<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>

java.lang.Object
io.datarouter.storage.serialize.fieldcache.DatabeanFieldInfo<PK,D,F>
Direct Known Subclasses:
PhysicalDatabeanFieldInfo

public class DatabeanFieldInfo<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>> extends Object
  • Constructor Details

    • DatabeanFieldInfo

      public DatabeanFieldInfo(NodeParams<PK,D,F> params)
  • Method Details

    • getFieldForColumnName

      public io.datarouter.model.field.Field<?> getFieldForColumnName(String columnName)
    • getFieldsWithValues

      public List<io.datarouter.model.field.Field<?>> getFieldsWithValues(D databean)
    • getNonKeyFieldsWithValues

      public List<io.datarouter.model.field.Field<?>> getNonKeyFieldsWithValues(D databean)
    • getPrimaryKeySupplier

      public Supplier<PK> getPrimaryKeySupplier()
    • getSamplePrimaryKey

      public PK getSamplePrimaryKey()
    • getDatabeanSupplier

      public Supplier<D> getDatabeanSupplier()
    • getSampleDatabean

      public D getSampleDatabean()
    • getFielderSupplier

      public Supplier<F> getFielderSupplier()
    • getSampleFielder

      public F getSampleFielder()
    • getPrimaryKeyFields

      public List<io.datarouter.model.field.Field<?>> getPrimaryKeyFields()
    • getNonKeyFields

      public List<io.datarouter.model.field.Field<?>> getNonKeyFields()
    • getFields

      public List<io.datarouter.model.field.Field<?>> getFields()
    • getFieldByColumnName

      public Map<String,io.datarouter.model.field.Field<?>> getFieldByColumnName()
    • getNonKeyFieldByColumnName

      public Map<String,io.datarouter.model.field.Field<?>> getNonKeyFieldByColumnName()
    • getFieldByPrefixedName

      public Map<String,io.datarouter.model.field.Field<?>> getFieldByPrefixedName()
    • getUniqueIndexes

      public Map<String,List<io.datarouter.model.field.Field<?>>> getUniqueIndexes()
    • getAutoGeneratedType

      public io.datarouter.model.field.encoding.FieldGeneratorType getAutoGeneratedType()
    • isManagedAutoGeneratedId

      public boolean isManagedAutoGeneratedId()
    • getAutogeneratedFieldName

      public String getAutogeneratedFieldName()
    • getEntityNodePrefix

      public String getEntityNodePrefix()
    • getEntityColumnPrefixBytes

      public byte[] getEntityColumnPrefixBytes()
    • getKeyJavaField

      public Field getKeyJavaField()
    • isSubEntity

      public boolean isSubEntity()
    • getEkFields

      public List<io.datarouter.model.field.Field<?>> getEkFields()
    • getEkPkFields

      public List<io.datarouter.model.field.Field<?>> getEkPkFields()
    • getPostEkPkKeyFields

      public List<io.datarouter.model.field.Field<?>> getPostEkPkKeyFields()
    • isSingleDatabeanEntity

      public boolean isSingleDatabeanEntity()
    • getTtlMs

      public Optional<Long> getTtlMs()
    • getRecordCallsite

      public Supplier<Boolean> getRecordCallsite()
    • getPrimaryKeyFieldColumnNames

      public List<String> getPrimaryKeyFieldColumnNames()
    • getFieldColumnNames

      public List<String> getFieldColumnNames()
    • getNonKeyFieldColumnNames

      public List<String> getNonKeyFieldColumnNames()