Uses of Interface
org.datanucleus.store.rdbms.mapping.column.ColumnMapping
Packages that use ColumnMapping
Package
Description
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
In an RDBMS datastore each class is represented as a Table (maybe shared with other classes).
Package containing mappings for column (JDBC) types.
Package providing mappings for all supported Java types in DataNucleus.
Provides the internal DataNucleus definition of a table/view and its columns.
-
Uses of ColumnMapping in org.datanucleus.store.rdbms.adapter
Fields in org.datanucleus.store.rdbms.adapter with type parameters of type ColumnMappingModifier and TypeFieldDescription(package private) Map
<String, Class<? extends ColumnMapping>> BaseDatastoreAdapter.ColumnTypeMappings.columnMappingByJdbcType
(package private) Map
<String, Class<? extends ColumnMapping>> BaseDatastoreAdapter.ColumnTypeMappings.columnMappingBySqlType
(package private) Class
<? extends ColumnMapping> BaseDatastoreAdapter.ColumnTypeMappings.defaultColumnMappingType
Methods in org.datanucleus.store.rdbms.adapter that return types with arguments of type ColumnMappingModifier and TypeMethodDescriptionClass
<? extends ColumnMapping> BaseDatastoreAdapter.getColumnMappingClass
(String javaType, String jdbcType, String sqlType, org.datanucleus.ClassLoaderResolver clr, String fieldName) Accessor for a datastore mapping class for the specified java type (and optional jdbc-type or sql-type).Class
<? extends ColumnMapping> DatastoreAdapter.getColumnMappingClass
(String javaType, String jdbcType, String sqlType, org.datanucleus.ClassLoaderResolver clr, String fieldName) Method to return the column mapping class to use for the specified java type (and optional JDBC / SQL types).Methods in org.datanucleus.store.rdbms.adapter with parameters of type ColumnMappingModifier and TypeMethodDescriptiondefault String
DatastoreAdapter.getIdentityKeyword
(org.datanucleus.store.StoreManager storeMgr, ColumnMapping columnMapping) Accessor for the identity (auto-increment) keyword for generating DDLs (CREATE TABLEs...).PostgreSQLAdapter.getIdentityKeyword
(org.datanucleus.store.StoreManager storeMgr, ColumnMapping columnMapping) Accessor for the identity (auto-increment) keyword for generating DDLs (CREATE TABLEs...).Method parameters in org.datanucleus.store.rdbms.adapter with type arguments of type ColumnMappingModifier and TypeMethodDescriptionvoid
BaseDatastoreAdapter.registerColumnMapping
(String javaTypeName, Class<? extends ColumnMapping> columnMappingType, String jdbcType, String sqlType, boolean dflt) void
BaseDatastoreAdapter.registerColumnMapping
(String javaTypeName, Class<? extends ColumnMapping> columnMappingType, JDBCType jdbcType, String sqlType, boolean dflt) void
DatastoreAdapter.registerColumnMapping
(String javaTypeName, Class<? extends ColumnMapping> columnMappingType, String jdbcType, String sqlType, boolean dflt) Method to register a column mapping for a specified java type, and against particular JDBC/SQL type. -
Uses of ColumnMapping in org.datanucleus.store.rdbms.mapping
Methods in org.datanucleus.store.rdbms.mapping that return ColumnMappingModifier and TypeMethodDescriptionMappingManager.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. -
Uses of ColumnMapping in org.datanucleus.store.rdbms.mapping.column
Classes in org.datanucleus.store.rdbms.mapping.column that implement ColumnMappingModifier and TypeClassDescriptionclass
Implementation of the mapping of a column.class
Mapping of a large binary (e.g BLOB, LONGVARBINARY) column.class
Mapping of an ARRAY column.class
Mapping of a Big Integer column.class
Mapping of a BINARY column.class
Mapping of a BinaryStream column.class
Mapping of a BIT column.class
Mapping of a BLOB column.class
Mapping of a BOOLEAN column.class
Mapping of a CHAR column.class
Mapping of a Clob column.class
Mapping of a DATE column.class
Mapping of a DB2 "Datalink" column.class
Mapping of a Decimal column.class
Mapping of a DOUBLE column.class
Mapping of a Float column.class
Mapping of a INTEGER column.class
Mapping of a LONGVARBINARY column.class
Mapping of a Long VARCHAR column.class
Mapping of a NCHAR column.class
Mapping of a numeric column.class
Mapping of a NVARCHAR column.class
Mapping of an "OTHER" column.class
Mapping of a REAL column.class
Mapping of a SMALLINT column.class
Mapping of an SQLXML column.class
Mapping of a TIME column.class
Mapping of a TIMESTAMP column.class
Mapping of a VARBINARY column for TimesTen database.class
Mapping of a TINYINT column.class
Mapping of a VARBINARY column.class
Mapping of a VARCHAR column.Fields in org.datanucleus.store.rdbms.mapping.column with type parameters of type ColumnMappingModifier and TypeFieldDescriptionprivate static Map
<Class<? extends ColumnMapping>, Constructor> ColumnMappingFactory.DATASTORE_MAPPING_CONSTRUCTOR_BY_CLASS
cache of constructors keyed by mapping classMethods in org.datanucleus.store.rdbms.mapping.column that return ColumnMappingModifier 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.Method parameters in org.datanucleus.store.rdbms.mapping.column with type arguments of type ColumnMappingModifier 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. -
Uses of ColumnMapping in org.datanucleus.store.rdbms.mapping.java
Fields in org.datanucleus.store.rdbms.mapping.java declared as ColumnMappingModifier and TypeFieldDescriptionprotected ColumnMapping[]
JavaTypeMapping.columnMappings
The Column mappings for this Java type.Methods in org.datanucleus.store.rdbms.mapping.java that return ColumnMappingModifier and TypeMethodDescriptionAbstractContainerMapping.getColumnMapping
(int index) Accessor for a datastore mappingDiscriminatorMapping.getColumnMapping
(int index) Accessor for a datastore mappingJavaTypeMapping.getColumnMapping
(int index) Accessor for a column mappingMultiMapping.getColumnMapping
(int index) Accessor for a datastore mapping.SingleCollectionMapping.getColumnMapping
(int index) VersionMapping.getColumnMapping
(int index) AbstractContainerMapping.getColumnMappings()
Accessor for the datastore mappings for this java typeDiscriminatorMapping.getColumnMappings()
Accessor for the datastore mappings for this java type.JavaTypeMapping.getColumnMappings()
Accessor for the column mappings for this java typeMultiMapping.getColumnMappings()
SingleCollectionMapping.getColumnMappings()
VersionMapping.getColumnMappings()
Methods in org.datanucleus.store.rdbms.mapping.java with parameters of type ColumnMappingModifier and TypeMethodDescriptionvoid
DiscriminatorMapping.addColumnMapping
(ColumnMapping colMapping) Mutator to add a column mappingvoid
JavaTypeMapping.addColumnMapping
(ColumnMapping cm) Method to add a column mappingvoid
VersionMapping.addColumnMapping
(ColumnMapping colMapping) -
Uses of ColumnMapping in org.datanucleus.store.rdbms.table
Fields in org.datanucleus.store.rdbms.table declared as ColumnMappingModifier and TypeFieldDescriptionprotected ColumnMapping
ColumnImpl.columnMapping
Mapping for this column.Methods in org.datanucleus.store.rdbms.table that return ColumnMappingModifier and TypeMethodDescriptionColumn.getColumnMapping()
Accessor for the column mapping that this column relates to.ColumnImpl.getColumnMapping()
Methods in org.datanucleus.store.rdbms.table with parameters of type ColumnMappingModifier and TypeMethodDescriptionvoid
Column.setColumnMapping
(ColumnMapping mapping) Method to associate this column with its mapping.void
ColumnImpl.setColumnMapping
(ColumnMapping mapping)