Uses of Interface
org.datanucleus.store.rdbms.table.Column
Packages that use Column
Package
Description
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
This package contains wrappers to various types of keys found in RDBMS databases.
In an RDBMS datastore each class is represented as a Table (maybe shared with other classes).
Package containing mappings for column (JDBC) types.
Provides the mechanism of communicating with the database using JDBC.
Series of classes used to generate SQL statements.
Series of expressions representing conditions in SQL statements.
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 ColumnModifier and TypeMethodDescriptionBaseDatastoreAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.DatastoreAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.H2Adapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.HSQLAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.MySQLAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.PostgreSQLAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.TimesTenAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.BaseDatastoreAdapter.getCreateTableStatement
(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory) Returns the appropriate SQL to create the given table having the given columns.CloudSpannerAdapter.getCreateTableStatement
(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory) Creates a spanner table with primary key.DatastoreAdapter.getCreateTableStatement
(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory) Returns the appropriate SQL to create the given table having the given columns.MySQLAdapter.getCreateTableStatement
(TableImpl table, Column[] columns, Properties props, IdentifierFactory factory) Method to return the CREATE TABLE statement.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
Fields in org.datanucleus.store.rdbms.exceptions declared as ColumnModifier and TypeFieldDescriptionprivate Column
DuplicateColumnException.conflictingColumn
Column that cannot be created because it conflicts with existing column with same identifier.Methods in org.datanucleus.store.rdbms.exceptions that return ColumnModifier and TypeMethodDescriptionDuplicateColumnException.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 ColumnModifierConstructorDescriptionDuplicateColumnException
(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 ColumnModifier and TypeFieldDescriptionKey.columns
Columns that the key relates to.ForeignKey.refColumns
Methods in org.datanucleus.store.rdbms.key that return types with arguments of type ColumnModifier and TypeMethodDescriptionKey.getColumns()
Accessor for the columns that the key relates to.Methods in org.datanucleus.store.rdbms.key with parameters of type ColumnModifier and TypeMethodDescriptionvoid
Class to add a column to the keyvoid
Method to add a Column.void
Class to add a column to the keyprotected void
Key.assertSameDatastoreObject
(Column col) Utility to assert if the column is for a different table.void
Sets a column in a specified positionseq
for this index.void
Set the column for the specified positionseq
void
Sets a column in a specified positionseq
for this index.Method parameters in org.datanucleus.store.rdbms.key with type arguments of type ColumnModifier and TypeMethodDescriptionstatic String
Key.getColumnList
(List<Column> cols) Method to return the list of columns which the key applies to. -
Uses of Column in org.datanucleus.store.rdbms.mapping
Methods in org.datanucleus.store.rdbms.mapping that return ColumnModifier and TypeMethodDescriptionMappingManager.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.MappingManager.createColumn
(JavaTypeMapping mapping, String javaType, int datastoreFieldIndex) Method to create a column in a container (table).MappingManager.createColumn
(JavaTypeMapping mapping, String javaType, org.datanucleus.metadata.ColumnMetaData colmd) Method to create a column in a container (table).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.MappingManagerImpl.createColumn
(JavaTypeMapping mapping, String javaType, int columnIndex) Method to create a column for a Java type mapping.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 ColumnModifier and TypeMethodDescriptionvoid
MappingConsumer.consumeUnmappedColumn
(Column col) Consume a column without mapping.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.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.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.MappingManager.createColumnMapping
(JavaTypeMapping mapping, Column column, String javaType) Method to create the column mapping for a particular column and java type.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.MappingManagerImpl.createColumnMapping
(JavaTypeMapping mapping, Column column, String javaType) Method to create the column mapping for a particular column and java type.private void
MappingManagerImpl.setColumnNullability
(org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.metadata.ColumnMetaData colmd, Column col) Sets the column nullability based on metadata configuration. -
Uses of Column in org.datanucleus.store.rdbms.mapping.column
Fields in org.datanucleus.store.rdbms.mapping.column declared as ColumnModifier and TypeFieldDescriptionprotected Column
AbstractColumnMapping.column
The Column being persisted to.Methods in org.datanucleus.store.rdbms.mapping.column that return ColumnModifier and TypeMethodDescriptionAbstractColumnMapping.getColumn()
Accessor for the columnColumnMapping.getColumn()
Accessor for the column that this represents.Methods in org.datanucleus.store.rdbms.mapping.column with parameters of type ColumnModifier and TypeMethodDescriptionstatic 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.Constructors in org.datanucleus.store.rdbms.mapping.column with parameters of type ColumnModifierConstructorDescriptionAbstractLargeBinaryColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.ArrayColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column column) BigIntColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.BinaryColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) BinaryStreamColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) BitColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.BlobColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.BooleanColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.CharColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.ClobColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.DateColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.DB2DatalinkColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.DecimalColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) DoubleColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.FloatColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.IntegerColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.LongVarBinaryColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.LongVarcharColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor.NCharColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) NumericColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) NVarcharColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) OtherColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) RealColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) SmallIntColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) SqlXmlColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) TimeColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) TimestampColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) TimesTenVarBinaryColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) TinyIntColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) VarBinaryColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) VarCharColumnMapping
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col) Constructor. -
Uses of Column in org.datanucleus.store.rdbms.request
Methods in org.datanucleus.store.rdbms.request with parameters of type ColumnModifier and TypeMethodDescriptionvoid
DeleteRequest.DeleteMappingConsumer.consumeUnmappedColumn
(Column col) Consumer a column without mapping.void
InsertRequest.InsertMappingConsumer.consumeUnmappedColumn
(Column col) Consumer a column without mapping.void
UpdateRequest.UpdateMappingConsumer.consumeUnmappedColumn
(Column col) Consumer a column without mapping. -
Uses of Column in org.datanucleus.store.rdbms.sql
Fields in org.datanucleus.store.rdbms.sql declared as ColumnMethods in org.datanucleus.store.rdbms.sql that return ColumnMethods in org.datanucleus.store.rdbms.sql with parameters of type ColumnModifier and TypeMethodDescriptionint
Add a select clause for the specified column.Constructors in org.datanucleus.store.rdbms.sql with parameters of type ColumnModifierConstructorDescriptionSQLColumn
(SQLTable table, Column col, DatastoreIdentifier alias) Constructor for a column reference. -
Uses of Column in org.datanucleus.store.rdbms.sql.expression
Fields in org.datanucleus.store.rdbms.sql.expression declared as ColumnModifier and TypeFieldDescription(package private) Column
ColumnExpression.column
The column this represents.Constructors in org.datanucleus.store.rdbms.sql.expression with parameters of type ColumnModifierConstructorDescriptionprotected
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 ColumnModifier and TypeClassDescriptionclass
Implementation of a Column in an RDBMS datastore.Fields in org.datanucleus.store.rdbms.table with type parameters of type ColumnModifier and TypeFieldDescriptionprotected Map
<DatastoreIdentifier, Column> AbstractTable.columnsByIdentifier
Index to the columns, keyed by name identifier.ClassTable.unmappedColumns
Set of unmapped "Column" objects that have no associated field (and hence ColumnMapping).Methods in org.datanucleus.store.rdbms.table that return ColumnModifier and TypeMethodDescriptionAbstractTable.addColumn
(String storedJavaType, DatastoreIdentifier name, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd) Creates a new column in the table.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.AbstractTable.getColumn
(DatastoreIdentifier identifier) Table.getColumn
(DatastoreIdentifier identifier) Accessor for the column with the specified identifier.AbstractClassTable.getSurrogateColumn
(org.datanucleus.store.schema.table.SurrogateColumnType colType) AbstractTable.getSurrogateColumn
(org.datanucleus.store.schema.table.SurrogateColumnType colType) ClassView.getSurrogateColumn
(org.datanucleus.store.schema.table.SurrogateColumnType colType) Column.setCheckConstraints
(String constraints) Mutator for the CHECK constraints of the column.final Column
ColumnImpl.setCheckConstraints
(String constraints) ColumnImpl.setColumnMetaData
(org.datanucleus.metadata.ColumnMetaData colmd) final Column
ColumnImpl.setDefaultable
(Object defaultValue) Column.setIdentity
(boolean identity) Mutator for whether we set this column as an identity column.ColumnImpl.setIdentity
(boolean identity) ColumnImpl.setJdbcType
(org.datanucleus.metadata.JdbcType jdbcType) final Column
ColumnImpl.setNullable
(boolean flag) ColumnImpl.setPosition
(int pos) final Column
ColumnImpl.setPrimaryKey()
Column.setTypeInfo
(SQLTypeInfo typeInfo) Mutator for the type information of the column.final Column
ColumnImpl.setTypeInfo
(SQLTypeInfo typeInfo) ColumnImpl.setTypeName
(String type) final Column
ColumnImpl.setUnique
(boolean flag) Methods in org.datanucleus.store.rdbms.table with parameters of type ColumnModifier and TypeMethodDescriptionprotected 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)