Uses of Class
com.github.drinkjava2.jdialects.model.ColumnModel

Packages that use ColumnModel
com.github.drinkjava2.jdialects   
com.github.drinkjava2.jdialects.model   
 

Uses of ColumnModel in com.github.drinkjava2.jdialects
 

Methods in com.github.drinkjava2.jdialects with parameters of type ColumnModel
static String DebugUtils.getColumnModelDebugInfo(ColumnModel c)
           
 

Uses of ColumnModel in com.github.drinkjava2.jdialects.model
 

Methods in com.github.drinkjava2.jdialects.model that return ColumnModel
 ColumnModel TableModel.addColumn(String columnName)
          Add a column with given columnName to tableModel
 ColumnModel ColumnModel.autoId()
          Bind column to a global Auto Id generator, can be Sequence or a Table
 ColumnModel ColumnModel.BIGDECIMAL(Integer precision, Integer scale)
           
 ColumnModel ColumnModel.BIGINT()
           
 ColumnModel ColumnModel.BINARY(Integer... lengths)
           
 ColumnModel ColumnModel.BIT()
           
 ColumnModel ColumnModel.BLOB(Integer... lengths)
           
 ColumnModel ColumnModel.BOOLEAN()
           
 ColumnModel ColumnModel.CHAR(Integer... lengths)
           
 ColumnModel ColumnModel.check(String check)
          Add a column check DDL piece if support
 ColumnModel ColumnModel.CLOB(Integer... lengths)
           
 ColumnModel TableModel.column(String columnName)
          find column in tableModel by given columnName, if not found, add a new column with columnName
 ColumnModel ColumnModel.comment(String comment)
          Add comments at end of column definition DDL
 ColumnModel ColumnModel.DATE()
           
 ColumnModel ColumnModel.DECIMAL(Integer... lengths)
           
 ColumnModel ColumnModel.defaultValue(String value)
          Default value for column's definition DDL
 ColumnModel ColumnModel.DOUBLE()
           
 ColumnModel ColumnModel.entityField(String entityFieldName)
          Mark this column map to a Java entity field, if exist other columns map to this field, delete other columns.
 ColumnModel ColumnModel.FLOAT(Integer... lengths)
           
 ColumnModel TableModel.getColumn(String colOrFieldName)
          Get ColumnModel by column Name or field name ignore case, if not found, return null
 ColumnModel TableModel.getColumnByColName(String colName)
          Get ColumnModel by columnName ignore case, if not found, return null
 ColumnModel TableModel.getColumnByFieldName(String fieldName)
          Get ColumnModel by entity field name ignore case, if not found, return null
 ColumnModel TableModel.getFirstPKeyColumn()
           
 ColumnModel TableModel.getShardDatabaseColumn()
           
 ColumnModel TableModel.getShardTableColumn()
           
 ColumnModel ColumnModel.id()
          equal to pkey method.
 ColumnModel ColumnModel.identityId()
          Mark a field will use database's native identity type.
 ColumnModel ColumnModel.idGenerator(String idGeneratorName)
          The value of this column will be generated by a sequence or table generator
 ColumnModel ColumnModel.insertable(Boolean insertable)
          Mark a field insertable=true, only for JPA or ORM tool use
 ColumnModel ColumnModel.INTEGER()
           
 ColumnModel ColumnModel.JAVA_OBJECT()
           
 ColumnModel ColumnModel.LONG()
           
 ColumnModel ColumnModel.LONGNVARCHAR(Integer length)
           
 ColumnModel ColumnModel.LONGVARBINARY(Integer... lengths)
           
 ColumnModel ColumnModel.LONGVARCHAR(Integer... lengths)
           
 ColumnModel ColumnModel.NCHAR(Integer length)
           
 ColumnModel ColumnModel.NCLOB()
           
 ColumnModel ColumnModel.newCopy()
           
 ColumnModel ColumnModel.notNull()
          Add a not null DDL piece if support
 ColumnModel ColumnModel.NUMERIC(Integer... lengths)
           
 ColumnModel ColumnModel.NVARCHAR(Integer length)
           
 ColumnModel ColumnModel.OTHER(Integer... lengths)
           
 ColumnModel ColumnModel.pkey()
          Mark primary key, if more than one will build compound Primary key
 ColumnModel ColumnModel.REAL()
           
 ColumnModel ColumnModel.sequenceGenerator(String name, String sequenceName, Integer initialValue, Integer allocationSize)
          The value of this column will be generated by a sequence
 ColumnModel ColumnModel.shardDatabase(String... shardDatabase)
          Mark is a shartDatabase column, for ORM tool use
 ColumnModel ColumnModel.shardTable(String... shardTable)
          Mark is a shartTable column, for ORM tool use
 ColumnModel ColumnModel.SHORT()
           
 ColumnModel ColumnModel.singleIndex()
          A shortcut method to add a index for single column, for multiple columns index please use tableModel.index() method
 ColumnModel ColumnModel.singleIndex(String indexName)
          A shortcut method to add a index for single column, for multiple columns index please use tableModel.index() method
 ColumnModel ColumnModel.singleUnique()
          A shortcut method to add a unique constraint for single column, for multiple columns index please use tableModel.unique() method
 ColumnModel ColumnModel.singleUnique(String uniqueName)
          A shortcut method to add a unique constraint for single column, for multiple columns index please use tableModel.unique() method
 ColumnModel ColumnModel.SMALLINT()
           
 ColumnModel ColumnModel.snowflake()
           
 ColumnModel ColumnModel.sortedUUID(String name, Integer sortedLength, Integer uuidLength)
           
 ColumnModel ColumnModel.STRING(Integer length)
           
 ColumnModel ColumnModel.tableGenerator(String name, String tableName, String pkColumnName, String valueColumnName, String pkColumnValue, Integer initialValue, Integer allocationSize)
           
 ColumnModel ColumnModel.tail(String tail)
          Put an extra tail String manually at the end of column definition DDL
 ColumnModel ColumnModel.TIME()
           
 ColumnModel ColumnModel.TIMESTAMP()
           
 ColumnModel ColumnModel.timeStampId()
           
 ColumnModel ColumnModel.TINYINT()
           
 ColumnModel ColumnModel.updatable(Boolean updatable)
          Mark a field updatable=true, only for JPA or ORM tool use
 ColumnModel ColumnModel.uuid25()
           
 ColumnModel ColumnModel.uuid32()
           
 ColumnModel ColumnModel.uuid36()
           
 ColumnModel ColumnModel.uuidAny(String name, Integer length)
           
 ColumnModel ColumnModel.VARBINARY(Integer... lengths)
           
 ColumnModel ColumnModel.VARCHAR(Integer length)
           
 

Methods in com.github.drinkjava2.jdialects.model that return types with arguments of type ColumnModel
 List<ColumnModel> TableModel.getColumns()
           
 List<ColumnModel> TableModel.getPKeyColsSortByColumnName()
          Get pkey columns sorted by column name
 

Methods in com.github.drinkjava2.jdialects.model with parameters of type ColumnModel
 TableModel TableModel.addColumn(ColumnModel column)
          Add a ColumnModel
 

Method parameters in com.github.drinkjava2.jdialects.model with type arguments of type ColumnModel
 void TableModel.setColumns(List<ColumnModel> columns)
           
 



Copyright © 2018. All rights reserved.