Uses of Interface
org.datanucleus.store.rdbms.table.Column
-
Packages that use Column Package Description org.datanucleus.store.rdbms.adapter Provides mappings of all supported databases to aspects of the database that determines the SQL generation.org.datanucleus.store.rdbms.exceptions org.datanucleus.store.rdbms.key This package contains wrappers to various types of keys found in RDBMS databases.org.datanucleus.store.rdbms.mapping In an RDBMS datastore each class is represented as a Table (maybe shared with other classes).org.datanucleus.store.rdbms.mapping.column Package containing mappings for column (JDBC) types.org.datanucleus.store.rdbms.sql Series of classes used to generate SQL statements.org.datanucleus.store.rdbms.sql.expression Series of expressions representing conditions in SQL statements.org.datanucleus.store.rdbms.table Provides the internal DataNucleus definition of a table/view and its columns. -
-
Uses of Column in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type Column Modifier and Type Method Description String
BaseDatastoreAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
DatastoreAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
H2Adapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
HSQLAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
MySQLAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
PostgreSQLAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
TimesTenAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
BaseDatastoreAdapter. getCreateTableStatement(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory)
Returns the appropriate SQL to create the given table having the given columns.String
CloudSpannerAdapter. getCreateTableStatement(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory)
Creates a spanner table with primary key.String
DatastoreAdapter. getCreateTableStatement(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory)
Returns the appropriate SQL to create the given table having the given columns.String
MySQLAdapter. getCreateTableStatement(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory)
Method to return the CREATE TABLE statement.String
SQLAnywhereAdapter. getCreateTableStatement(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory)
Returns the appropriate SQL to create the given table having the given columns. -
Uses of Column in org.datanucleus.store.rdbms.exceptions
Methods in org.datanucleus.store.rdbms.exceptions that return Column Modifier and Type Method Description Column
DuplicateColumnException. getConflictingColumn()
Accessor for the column that could not be created because it conflicts with something already present.Constructors in org.datanucleus.store.rdbms.exceptions with parameters of type Column Constructor Description DuplicateColumnException(String tableName, Column col1, Column col2)
Constructs a duplicate column name exception.IncompatibleDataTypeException(Column column, int expectedType, int actualType)
Constructs an incompatible data type exception. -
Uses of Column in org.datanucleus.store.rdbms.key
Fields in org.datanucleus.store.rdbms.key with type parameters of type Column Modifier and Type Field Description protected List<Column>
Key. columns
Columns that the key relates to.protected List<Column>
Key. columns
Columns that the key relates to.protected List<Column>
Key. columns
Columns that the key relates to.protected List<Column>
Key. columns
Columns that the key relates to.protected List<Column>
Key. columns
Columns that the key relates to.Methods in org.datanucleus.store.rdbms.key with parameters of type Column Modifier and Type Method Description void
ColumnOrderedKey. addColumn(Column col)
Class to add a column to the keyvoid
ForeignKey. addColumn(Column col, Column refCol)
Method to add a Column.void
ColumnOrderedKey. setColumn(int seq, Column col)
Sets a column in a specified positionseq
for this index.void
ForeignKey. setColumn(int seq, Column col, Column refCol)
Set the column for the specified positionseq
-
Uses of Column in org.datanucleus.store.rdbms.mapping
Methods in org.datanucleus.store.rdbms.mapping that return Column Modifier and Type Method Description Column
MappingManager. createColumn(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd, Column referenceCol, org.datanucleus.ClassLoaderResolver clr)
Method to create a column for a persistable mapping.Column
MappingManager. createColumn(JavaTypeMapping mapping, String javaType, int datastoreFieldIndex)
Method to create a column in a container (table).Column
MappingManager. createColumn(JavaTypeMapping mapping, String javaType, org.datanucleus.metadata.ColumnMetaData colmd)
Method to create a column in a container (table).Column
MappingManagerImpl. createColumn(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd, Column reference, org.datanucleus.ClassLoaderResolver clr)
Method to create a column for a persistable mapping.Column
MappingManagerImpl. createColumn(JavaTypeMapping mapping, String javaType, int columnIndex)
Method to create a column for a Java type mapping.Column
MappingManagerImpl. createColumn(JavaTypeMapping mapping, String javaType, org.datanucleus.metadata.ColumnMetaData colmd)
Method to create a column for a Java type mapping.Methods in org.datanucleus.store.rdbms.mapping with parameters of type Column Modifier and Type Method Description void
MappingConsumer. consumeUnmappedColumn(Column col)
Consume a column without mapping.Column
MappingManager. createColumn(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd, Column referenceCol, org.datanucleus.ClassLoaderResolver clr)
Method to create a column for a persistable mapping.Column
MappingManagerImpl. createColumn(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd, Column reference, org.datanucleus.ClassLoaderResolver clr)
Method to create a column for a persistable mapping.ColumnMapping
MappingManager. createColumnMapping(JavaTypeMapping mapping, org.datanucleus.metadata.AbstractMemberMetaData fmd, int index, Column column)
Method to create the column mapping for a java type mapping at a particular index.ColumnMapping
MappingManager. createColumnMapping(JavaTypeMapping mapping, Column column, String javaType)
Method to create the column mapping for a particular column and java type.ColumnMapping
MappingManagerImpl. createColumnMapping(JavaTypeMapping mapping, org.datanucleus.metadata.AbstractMemberMetaData mmd, int index, Column column)
Method to create the column mapping for a java type mapping at a particular index.ColumnMapping
MappingManagerImpl. createColumnMapping(JavaTypeMapping mapping, Column column, String javaType)
Method to create the column mapping for a particular column and java type. -
Uses of Column in org.datanucleus.store.rdbms.mapping.column
Fields in org.datanucleus.store.rdbms.mapping.column declared as Column Modifier and Type Field Description protected Column
AbstractColumnMapping. column
The Column being persisted to.Methods in org.datanucleus.store.rdbms.mapping.column that return Column Modifier and Type Method Description Column
AbstractColumnMapping. getColumn()
Accessor for the columnColumn
ColumnMapping. getColumn()
Accessor for the column that this represents.Methods in org.datanucleus.store.rdbms.mapping.column with parameters of type Column Modifier and Type Method Description static ColumnMapping
ColumnMappingFactory. createMapping(Class<? extends ColumnMapping> mappingClass, JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column column)
Get a new instance of the ColumnMapping using the mapping, StoreManager and column. -
Uses of Column in org.datanucleus.store.rdbms.sql
Fields in org.datanucleus.store.rdbms.sql declared as Column Modifier and Type Field Description protected Column
SQLColumn. column
The column being referenced.Methods in org.datanucleus.store.rdbms.sql that return Column Modifier and Type Method Description Column
SQLColumn. getColumn()
Methods in org.datanucleus.store.rdbms.sql with parameters of type Column Modifier and Type Method Description int
SelectStatement. select(SQLTable table, Column column, String alias)
Add a select clause for the specified column.Constructors in org.datanucleus.store.rdbms.sql with parameters of type Column Constructor Description SQLColumn(SQLTable table, Column col, DatastoreIdentifier alias)
Constructor for a column reference. -
Uses of Column in org.datanucleus.store.rdbms.sql.expression
Constructors in org.datanucleus.store.rdbms.sql.expression with parameters of type Column Constructor Description ColumnExpression(SQLStatement stmt, SQLTable table, Column col)
Constructor for an SQL expression for a column. -
Uses of Column in org.datanucleus.store.rdbms.table
Classes in org.datanucleus.store.rdbms.table that implement Column Modifier and Type Class Description class
ColumnImpl
Implementation of a Column in an RDBMS datastore.Fields in org.datanucleus.store.rdbms.table with type parameters of type Column Modifier and Type Field Description protected Map<DatastoreIdentifier,Column>
AbstractTable. columnsByIdentifier
Index to the columns, keyed by name identifier.Methods in org.datanucleus.store.rdbms.table that return Column Modifier and Type Method Description Column
AbstractTable. addColumn(String storedJavaType, DatastoreIdentifier name, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd)
Creates a new column in the table.Column
Table. addColumn(String storedJavaType, DatastoreIdentifier name, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd)
Method to add a new column to the internal representation.static Column
ColumnCreator. createIndexColumn(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, Table table, org.datanucleus.metadata.ColumnMetaData colmd, boolean pk)
Convenience method to add the column for an index mapping.Column
AbstractTable. getColumn(DatastoreIdentifier identifier)
Column
Table. getColumn(DatastoreIdentifier identifier)
Accessor for the column with the specified identifier.Column
AbstractClassTable. getSurrogateColumn(org.datanucleus.store.schema.table.SurrogateColumnType colType)
Column
AbstractTable. getSurrogateColumn(org.datanucleus.store.schema.table.SurrogateColumnType colType)
Column
ClassView. getSurrogateColumn(org.datanucleus.store.schema.table.SurrogateColumnType colType)
Column
Column. setCheckConstraints(String constraints)
Mutator for the CHECK constraints of the column.Column
ColumnImpl. setCheckConstraints(String constraints)
Column
ColumnImpl. setColumnMetaData(org.datanucleus.metadata.ColumnMetaData colmd)
Column
ColumnImpl. setDefaultable(Object defaultValue)
Column
Column. setIdentity(boolean identity)
Mutator for whether we set this column as an identity column.Column
ColumnImpl. setIdentity(boolean identity)
Column
ColumnImpl. setJdbcType(org.datanucleus.metadata.JdbcType jdbcType)
Column
ColumnImpl. setNullable(boolean flag)
Column
ColumnImpl. setPosition(int pos)
Column
ColumnImpl. setPrimaryKey()
Column
Column. setTypeInfo(SQLTypeInfo typeInfo)
Mutator for the type information of the column.Column
ColumnImpl. setTypeInfo(SQLTypeInfo typeInfo)
Column
ColumnImpl. setTypeName(String type)
Column
ColumnImpl. setUnique(boolean flag)
Methods in org.datanucleus.store.rdbms.table with parameters of type Column Modifier and Type Method Description protected void
AbstractTable. addColumnInternal(Column col)
Utility method to add a column to the internal representationprotected void
ViewImpl. addColumnInternal(Column col)
Method to add a Column to the View.void
Column. copyConfigurationTo(Column col)
Copy the configuration of this field to another fieldvoid
ColumnImpl. copyConfigurationTo(Column colIn)
-