Uses of Class
org.apache.openjpa.jdbc.schema.Column
Packages that use Column
Package
Description
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA-JDBC Schema Management
OpenJPA-JDBC SQL Abstraction
OpenJPA JPA-JDBC
-
Uses of Column in org.apache.openjpa.jdbc.identifier
Methods in org.apache.openjpa.jdbc.identifier with parameters of type ColumnModifier and TypeMethodDescriptionDBIdentifierUtil.appendColumns(Column[] columns) Appends multiple columns names together into comma delimited string.DBIdentifierUtilImpl.appendColumns(Column[] columns) DBIdentifierUtil.getGeneratedKeySequenceName(Column col, int maxLen) Returns a generated key sequence identifier for the column.DBIdentifierUtilImpl.getGeneratedKeySequenceName(Column col, int maxLen) -
Uses of Column in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel that return ColumnModifier and TypeMethodDescriptionprotected ColumnClassTableJDBCSeq.addPrimaryKeyColumn(Table table) protected ColumnTableJDBCSeq.addPrimaryKeyColumn(Table table) Add the primary key column to the given table and return it.protected ColumnValueTableJDBCSeq.addPrimaryKeyColumn(Table table) protected Column[]PreparedStatementManagerImpl.getAutoAssignColumns(RowImpl row) Column[]FinderQueryImpl.getPKColumns()Methods in org.apache.openjpa.jdbc.kernel with parameters of type ColumnModifier and TypeMethodDescriptionprotected String[]PreparedStatementManagerImpl.getAutoAssignColNames(Column[] autoAssign, RowImpl row) PreparedStatementManagerImpl.populateAutoAssignCols(PreparedStatement stmnt, Column[] autoAssign, String[] autoAssignColNames, RowImpl row) PreparedStatementManagerImpl.populateAutoAssignCols(PreparedStatement stmnt, Column[] autoAssign, DBIdentifier[] autoAssignColNames, RowImpl row) This method will only be called when there is auto assign columns.protected voidPreparedStatementManagerImpl.setObjectId(List vals, Column[] autoAssign, String[] autoAssignColNames, RowImpl row) protected voidPreparedStatementManagerImpl.setObjectId(List vals, Column[] autoAssign, DBIdentifier[] autoAssignColNames, RowImpl row) -
Uses of Column in org.apache.openjpa.jdbc.kernel.exps
Fields in org.apache.openjpa.jdbc.kernel.exps declared as ColumnMethods in org.apache.openjpa.jdbc.kernel.exps that return ColumnMethods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Column -
Uses of Column in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta that return ColumnModifier and TypeMethodDescriptionprotected Column[]MappingInfo.createColumns(MetaDataContext context, String prefix, Column[] tmplates, Table table, boolean adapt) Retrieve/create columns on the given table by merging the given template information with any user-provided information.Column[]DelegatingJoinable.getColumns()Column[]Discriminator.getColumns()Columns used by this Discriminator.Column[]DiscriminatorMappingInfo.getColumns(Discriminator discrim, Column[] tmplates, boolean adapt) Return the columns set for this discriminator, based on the given templates.Column[]Embeddable.getColumns()Return the columns used by this strategy.Column[]FieldMapping.getColumns()Column[]Joinable.getColumns()The columns managed by this joinable.Column[]ValueMapping.getColumns()The columns that hold the data for this value.Column[]ValueMappingImpl.getColumns()Column[]ValueMappingInfo.getColumns(ValueMapping val, String name, Column[] tmplates, Table table, boolean adapt) Deprecated.Column[]ValueMappingInfo.getColumns(ValueMapping val, DBIdentifier name, Column[] tmplates, Table table, boolean adapt) Column[]Version.getColumns()Columns used for versioning.Column[]VersionMappingInfo.getColumns(Version version, Column[] templates, boolean adapt) Return the columns set for this version, based on the given templates.Column[]ClassMappingInfo.getDataStoreIdColumns(ClassMapping cls, Column[] tmplates, Table table, boolean adapt) Return the datastore identity columns for the given class, based on the given templates.Column[]VersionMappingInfo.getMultiTableColumns(Version vers, Column[] templates, boolean adapt) Return the columns set for this version when the columns are spread across multiple tables.ValueMappingInfo.getNullIndicatorColumn(ValueMapping val, String name, Table table, boolean adapt) Deprecated.ValueMappingInfo.getNullIndicatorColumn(ValueMapping val, DBIdentifier name, Table table, boolean adapt) FieldMapping.getOrderColumn()Field order column, if any.FieldMappingInfo.getOrderColumn()Raw synthetic ordering column.FieldMappingInfo.getOrderColumn(FieldMapping field, Table table, boolean adapt) Return the ordering column for this field, or null if none.Column[]ClassMapping.getPrimaryKeyColumns()The columns this mapping uses to uniquely identify an object.Column[]ValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Map the given value and return all mapped columns, or simply return an array of unmapped default columns.protected static ColumnMappingInfo.mergeColumn(MetaDataContext context, String prefix, Column tmplate, boolean compat, Column given, Table table, boolean adapt, boolean fill) Merge the given columns if possible.protected static ColumnMappingInfo.syncColumn(MetaDataContext context, Column col, int num, boolean forceJDBCType, Table colTable, Table targetTable, Object target, boolean inverse) Create a copy of the given column with the raw mapping information set correctly, and without settings that match defaults.Methods in org.apache.openjpa.jdbc.meta that return types with arguments of type ColumnModifier and TypeMethodDescriptionVersion.getBulkUpdateValues()VersionStrategy.getBulkUpdateValues()MappingInfo.getColumns()Raw column data.MappingInfo.getColumns(String tableName) Deprecated.MappingInfo.getColumns(DBIdentifier tableName) Gets the columns whose table name matches the given table name.ValueMappingInfo.getMapsIdColumns()Raw column data.ClassMappingInfo.getSecondaryTableJoinColumns(String tableName) Deprecated.ClassMappingInfo.getSecondaryTableJoinColumns(DBIdentifier tableName) Methods in org.apache.openjpa.jdbc.meta with parameters of type ColumnModifier and TypeMethodDescriptionprotected booleanMappingDefaultsImpl.areAllPrimaryKeyColumns(Column[] cols) Return whether all the given columns are primary key columns.ClassMapping.assertJoinable(Column col) Return the joinable for the given column, or throw an exception if none is available.protected voidMappingDefaultsImpl.correctName(Table table, Column col) Correct the given column's name.protected Column[]MappingInfo.createColumns(MetaDataContext context, String prefix, Column[] tmplates, Table table, boolean adapt) Retrieve/create columns on the given table by merging the given template information with any user-provided information.protected IndexMappingInfo.createIndex(MetaDataContext context, String prefix, Index tmplate, Column[] cols, boolean adapt) Retrieve/create an index on the given columns by merging the given template information with any user-provided information.protected UniqueMappingInfo.createUnique(MetaDataContext context, String prefix, Unique tmplate, Column[] cols, boolean adapt) Retrieve/create a unique constraint on the given columns by merging the given template information with any user-provided information.intValueMappingInfo.findTargetField(Column[] tmplates, String target) Return the position of the template column with the given target field.Column[]DiscriminatorMappingInfo.getColumns(Discriminator discrim, Column[] tmplates, boolean adapt) Return the columns set for this discriminator, based on the given templates.Column[]ValueMappingInfo.getColumns(ValueMapping val, String name, Column[] tmplates, Table table, boolean adapt) Deprecated.Column[]ValueMappingInfo.getColumns(ValueMapping val, DBIdentifier name, Column[] tmplates, Table table, boolean adapt) Column[]VersionMappingInfo.getColumns(Version version, Column[] templates, boolean adapt) Return the columns set for this version, based on the given templates.Column[]ClassMappingInfo.getDataStoreIdColumns(ClassMapping cls, Column[] tmplates, Table table, boolean adapt) Return the datastore identity columns for the given class, based on the given templates.PropertiesReverseCustomizer.getFieldName(ClassMapping dec, Column[] cols, ForeignKey fk, String defaultName) ReverseCustomizer.getFieldName(ClassMapping dec, Column[] cols, ForeignKey fk, String defaultName) Return the field name used to map the given columns, or null to prevent the columns from being mapped.ReverseMappingTool.getFieldType(Column col, boolean forceObject) Return the default field type for the given column.DiscriminatorMappingInfo.getIndex(Discriminator discrim, Column[] cols, boolean adapt) Return the index to set on the discriminator columns, or null if none.MappingDefaults.getIndex(Discriminator disc, Table table, Column[] cols) Return a default index for the discriminator, or null if the discriminator columns should not be indexed by default.MappingDefaults.getIndex(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaults.getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Return a default index for the value, or null if the value columns should not be indexed by default.Return a default index for the version, or null if the version columns should not be indexed by default.MappingDefaultsImpl.getIndex(Discriminator disc, Table table, Column[] cols) MappingDefaultsImpl.getIndex(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaultsImpl.getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) NoneMappingDefaults.getIndex(Discriminator disc, Table table, Column[] cols) NoneMappingDefaults.getIndex(ValueMapping vm, String name, Table table, Column[] cols) NoneMappingDefaults.getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Return the index to set on the version columns, or null if none.protected StringMappingDefaultsImpl.getIndexName(String name, Table table, Column[] cols) Deprecated.protected DBIdentifierMappingDefaultsImpl.getIndexName(DBIdentifier name, Table table, Column[] cols) ClassMapping.getJoinable(Column col) Return theJoinablefor the given column.MappingDefaults.getJoinIndex(FieldMapping fm, Table table, Column[] cols) Return a default index for the join, or null if the join columns should not be indexed by default.MappingDefaultsImpl.getJoinIndex(FieldMapping fm, Table table, Column[] cols) NoneMappingDefaults.getJoinIndex(FieldMapping fm, Table table, Column[] cols) MappingDefaults.getJoinUnique(FieldMapping fm, Table table, Column[] cols) Return a default constraint for the join, or null if the join columns should not be constrained by default.MappingDefaultsImpl.getJoinUnique(FieldMapping fm, Table table, Column[] cols) NoneMappingDefaults.getJoinUnique(FieldMapping fm, Table table, Column[] cols) DelegatingJoinable.getJoinValue(Object val, Column col, JDBCStore store) DelegatingJoinable.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store) Joinable.getJoinValue(Object val, Column col, JDBCStore store) Return the join value of the given column.Joinable.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store) Return the join value of the given column.Column[]VersionMappingInfo.getMultiTableColumns(Version vers, Column[] templates, boolean adapt) Return the columns set for this version when the columns are spread across multiple tables.DelegatingJoinable.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) Joinable.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) Return the value for this joinable from the given result, using the given columns.MappingDefaults.getUnique(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaults.getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Return a default constraint for the value, or null if the value columns should not be constrained by default.MappingDefaultsImpl.getUnique(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaultsImpl.getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) NoneMappingDefaults.getUnique(ValueMapping vm, String name, Table table, Column[] cols) NoneMappingDefaults.getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) protected static ColumnMappingInfo.mergeColumn(MetaDataContext context, String prefix, Column tmplate, boolean compat, Column given, Table table, boolean adapt, boolean fill) Merge the given columns if possible.ReverseMappingTool.newFieldMapping(String name, Class type, Column col, ForeignKey fk, ClassMapping dec) Create a field mapping for the given info, or return null if customizer rejects.voidMappingInfo.ForeignKeyDefaults.populate(Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Populate the given foreign key column with defaults.voidMappingDefaults.populateColumns(Discriminator disc, Table table, Column[] cols) Fill in default information for the given discriminator columns.voidMappingDefaults.populateColumns(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.voidMappingDefaults.populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Fill in default information for the given value columns.voidMappingDefaults.populateColumns(Version vers, Table table, Column[] cols) Fill in default information for the given version columns.voidMappingDefaultsImpl.populateColumns(Discriminator disc, Table table, Column[] cols) voidMappingDefaultsImpl.populateColumns(ValueMapping vm, String name, Table table, Column[] cols) voidMappingDefaultsImpl.populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) voidMappingDefaultsImpl.populateColumns(Version vers, Table table, Column[] cols) voidNoneMappingDefaults.populateColumns(Discriminator disc, Table table, Column[] cols) voidNoneMappingDefaults.populateColumns(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.voidNoneMappingDefaults.populateColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) voidNoneMappingDefaults.populateColumns(Version vers, Table table, Column[] cols) voidMappingDefaults.populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols) Fill in default information for the given datastore identity columns.voidMappingDefaultsImpl.populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols) voidNoneMappingDefaults.populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols) voidMappingDefaults.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Deprecated.voidMappingDefaults.populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Fill in default information for the given column used to join a value to its related type.voidMappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Deprecated.voidMappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) voidNoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Deprecated.voidNoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) voidMappingDefaults.populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols) Fill in default information for the given column used to join a class to its superclass table.voidMappingDefaults.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols) Fill in default information for the given column used to join a field to its defining class' table.voidMappingDefaultsImpl.populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols) voidMappingDefaultsImpl.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols) voidNoneMappingDefaults.populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols) voidNoneMappingDefaults.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols) booleanMappingDefaults.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.booleanMappingDefaults.populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Fill in default information for the given null indicator columns.booleanMappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.booleanMappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) booleanNoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.booleanNoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) booleanMappingDefaults.populateOrderColumns(FieldMapping fm, Table table, Column[] cols) Fill in default information for the given order columns.booleanMappingDefaultsImpl.populateOrderColumns(FieldMapping fm, Table table, Column[] cols) booleanNoneMappingDefaults.populateOrderColumns(FieldMapping fm, Table table, Column[] cols) voidDelegatingJoinable.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autogen) voidJoinable.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autogen) Use the given auto-assigned value to set this join value's field on the given instance.voidDiscriminator.setColumns(Column[] cols) Columns used by this Discriminator.voidFieldMapping.setColumns(Column[] cols) voidValueMapping.setColumns(Column[] cols) The columns that hold the data for this value.voidValueMappingImpl.setColumns(Column[] cols) voidVersion.setColumns(Column[] cols) Columns used for versioning.voidClassMapping.setJoinable(Column col, Joinable joinable) Add the given column-to-joinable mapping.voidFieldMapping.setOrderColumn(Column order) Field order column, if any.voidFieldMappingInfo.setOrderColumn(Column order) Raw synthetic ordering column.voidClassMapping.setPrimaryKeyColumns(Column[] cols) The columns this mapping uses to uniquely identify an object.protected static ColumnMappingInfo.syncColumn(MetaDataContext context, Column col, int num, boolean forceJDBCType, Table colTable, Table targetTable, Object target, boolean inverse) Create a copy of the given column with the raw mapping information set correctly, and without settings that match defaults.protected voidMappingInfo.syncColumns(MetaDataContext context, Column[] cols, boolean forceJDBCType) Sets internal column information to match the given mapped columns.ClassMapping.toDataStoreValue(Object obj, Column[] cols, JDBCStore store) Return the given column value(s) for the given object.RelationId.toRelationDataStoreValue(OpenJPAStateManager sm, Column col) Return the serialized value for the given related object, now that its id has been assigned.Method parameters in org.apache.openjpa.jdbc.meta with type arguments of type ColumnModifier and TypeMethodDescriptionprotected ForeignKeyMappingInfo.createForeignKey(MetaDataContext context, String prefix, List<Column> given, MappingInfo.ForeignKeyDefaults def, Table table, ClassMapping cls, ClassMapping rel, boolean inversable, boolean adapt) Retrieve/create a foreign key (possibly logical) on the given columns by merging the given template information with any user-provided information.FieldMappingInfo.getJoin(FieldMapping field, Table table, boolean adapt, List<Column> cols) voidMappingInfo.setColumns(List<Column> cols) Raw column data.voidValueMappingInfo.setMapsIdColumns(List<Column> cols) Raw column data.voidClassMappingInfo.setSecondaryTableJoinColumns(String tableName, List<Column> cols) Deprecated.voidClassMappingInfo.setSecondaryTableJoinColumns(DBIdentifier tableName, List<Column> cols) Constructors in org.apache.openjpa.jdbc.meta with parameters of type Column -
Uses of Column in org.apache.openjpa.jdbc.meta.strats
Fields in org.apache.openjpa.jdbc.meta.strats declared as ColumnMethods in org.apache.openjpa.jdbc.meta.strats that return ColumnModifier and TypeMethodDescriptionColumn[]EmbedFieldStrategy.getColumns()Column[]HandlerFieldStrategy.getColumns()Column[]PrimitiveFieldStrategy.getColumns()Column[]RelationFieldStrategy.getColumns()Column[]StringFieldStrategy.getColumns()Column[]HandlerCollectionTableFieldStrategy.getElementColumns(ClassMapping elem) Column[]LRSCollectionFieldStrategy.getElementColumns(ClassMapping elem) Return the columns holding the data for a collection element for the given element mapping fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).Column[]RelationCollectionInverseKeyFieldStrategy.getElementColumns(ClassMapping elem) Column[]RelationCollectionTableFieldStrategy.getElementColumns(ClassMapping elem) Column[]HandlerHandlerMapTableFieldStrategy.getKeyColumns(ClassMapping cls) Column[]HandlerRelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls) Column[]LRSMapFieldStrategy.getKeyColumns(ClassMapping cls) Return the columns holding data for a map key for the given key mapping fromLRSMapFieldStrategy.getIndependentKeyMappings(boolean)orLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).Column[]RelationHandlerMapTableFieldStrategy.getKeyColumns(ClassMapping cls) Column[]RelationMapInverseKeyFieldStrategy.getKeyColumns(ClassMapping cls) Column[]RelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls) Column[]RelationRelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls) Column[]HandlerHandlerMapTableFieldStrategy.getValueColumns(ClassMapping cls) Column[]HandlerRelationMapTableFieldStrategy.getValueColumns(ClassMapping cls) Column[]LRSMapFieldStrategy.getValueColumns(ClassMapping cls) Return the columns holding data for a map value for the given value mapping fromLRSMapFieldStrategy.getIndependentKeyMappings(boolean)orLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).Column[]RelationHandlerMapTableFieldStrategy.getValueColumns(ClassMapping cls) Column[]RelationMapInverseKeyFieldStrategy.getValueColumns(ClassMapping cls) Column[]RelationMapTableFieldStrategy.getValueColumns(ClassMapping cls) Column[]RelationRelationMapTableFieldStrategy.getValueColumns(ClassMapping cls) Column[]BlobValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Column[]BlobValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]ByteArrayValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]ByteArrayValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]CharArrayStreamValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]CharArrayStreamValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]CharArrayValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]CharArrayValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]ClobValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]ClobValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]ElementEmbedValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]ElementEmbedValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]EnumValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]EnumValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) static Column[]HandlerStrategies.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Map the given value.Column[]ImmutableValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]ImmutableValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]ObjectIdValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]ObjectIdValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]UntypedPCValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]UntypedPCValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Column[]XMLValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt) Deprecated.Column[]XMLValueHandler.map(ValueMapping vm, DBIdentifier name, ColumnIO io, boolean adapt) Methods in org.apache.openjpa.jdbc.meta.strats that return types with arguments of type ColumnMethods in org.apache.openjpa.jdbc.meta.strats with parameters of type ColumnModifier and TypeMethodDescriptionHandlerFieldStrategy.getJoinValue(Object fieldVal, Column col, JDBCStore store) HandlerFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store) PrimitiveFieldStrategy.getJoinValue(Object fieldVal, Column col, JDBCStore store) PrimitiveFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store) RelationFieldStrategy.getJoinValue(Object fieldVal, Column col, JDBCStore store) RelationFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store) StringFieldStrategy.getJoinValue(Object fieldVal, Column col, JDBCStore store) StringFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store) HandlerFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) PrimitiveFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) RelationFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) StringFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) static booleanRelationStrategies.isRelationId(Column[] cols) Affirms if all of the given columns represent a relationship identifier.protected Objectprotected Objectstatic ObjectHandlerStrategies.loadDataStore(ValueMapping vm, Result res, Joins joins, Column[] cols) Load the datastore value from the given result.static ObjectHandlerStrategies.loadObject(ValueMapping vm, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins, Column[] cols, boolean objectValueRequiresLoad) Load the Object value from the given result.protected RowImplStateComparisonVersionStrategy.CustomUpdate.newInstance(Column[] cols, int action) static booleanHandlerStrategies.set(ValueMapping vm, Object val, JDBCStore store, Row row, Column[] cols, ColumnIO io, boolean nullNone) Set the given value into the given row.voidHandlerFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) voidPrimitiveFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) voidRelationFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) voidStringFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) voidprotected ObjectEmbedValueHandler.toDataStoreValue(OpenJPAStateManager em, ValueMapping vm, JDBCStore store, Column[] cols, Object rval, int idx) Helper to convert an object value to its datastore equivalent.static ObjectHandlerStrategies.toDataStoreValue(ValueMapping vm, Object val, Column[] cols, JDBCStore store) Convert the given object to its datastore value(s).protected intEmbedValueHandler.toDataStoreValue1(OpenJPAStateManager em, ValueMapping vm, JDBCStore store, Column[] cols, List rvals, int idx) protected voidEmbedValueHandler.toObjectValue(OpenJPAStateManager em, ValueMapping vm, Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx) Helper to convert a datastore value to its object equivalent.protected intEmbedValueHandler.toObjectValue1(OpenJPAStateManager em, ValueMapping vm, Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx) ElementEmbedValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm, Column col) UntypedPCValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm, Column col) static voidAdd where conditions to the given row. -
Uses of Column in org.apache.openjpa.jdbc.schema
Fields in org.apache.openjpa.jdbc.schema declared as ColumnMethods in org.apache.openjpa.jdbc.schema that return ColumnModifier and TypeMethodDescriptionDeprecated.Deprecated.Table.addColumn(DBIdentifier name) Table.addColumn(DBIdentifier name, DBIdentifier validName) Column[]Table.getAutoAssignedColumns()Return this table's auto-assigned columns.Return the local column joined to the given primary key column.Deprecated.Table.getColumn(DBIdentifier name) Table.getColumn(DBIdentifier name, boolean create) Column[]ForeignKey.getColumns()Return the local columns in the foreign key local table order.Column[]LocalConstraint.getColumns()Return all the columns the constraint spans.Column[]Table.getColumns()Return the table's columns, in alphabetical order.Column[]ForeignKey.getConstantColumns()Return the local columns that we link to using constant values.Column[]ForeignKey.getConstantPrimaryKeyColumns()Return the primary key columns that we link to using constant values.ForeignKey.getPrimaryKeyColumn(Column local) Return the primary key column joined to the given local column.Column[]ForeignKey.getPrimaryKeyColumns()Return the foreign columns in the foreign key, in join-order with the result ofForeignKey.getColumns().Column[]Table.getRelationIdColumns()Return this table's relation id columns.Table.importColumn(Column col) Import a column from another table.protected ColumnDynamicSchemaFactory.newColumn(DBIdentifier name, Table table) protected ColumnDeprecated.protected ColumnSchemaGroup.newColumn(DBIdentifier name, Table table) Methods in org.apache.openjpa.jdbc.schema with parameters of type ColumnModifier and TypeMethodDescriptionvoidAdd a column to the constraint.voidbooleanAdd the given column to the database schema.booleanForeignKey.columnsMatch(Column[] fkCols, Column[] fkPKCols) Return true if the given local and foreign columns match those on this key.booleanLocalConstraint.columnsMatch(Column[] ocols) Return true if the given columns match the columns of this constraint.booleanForeignKey.containsColumn(Column col) Return true if the fk includes the given local column.booleanLocalConstraint.containsColumn(Column col) Return true if the pk includes the given column.booleanTable.containsColumn(Column col) booleanForeignKey.containsConstantColumn(Column col) Return true if the fk includes the given local column.booleanForeignKey.containsConstantPrimaryKeyColumn(Column col) Return true if the fk includes the given primary key column.booleanForeignKey.containsPrimaryKeyColumn(Column col) Return true if the fk includes the given primary key column.voidCopy information from the given column to this one.booleanSchemaTool.dropColumn(Column col) Drop the given column from the database schema.booleanColumn.equalsColumn(DBDictionary dict, Column col) Tests compatibility.Return the local column joined to the given primary key column.ForeignKey.getConstant(Column local) Return the constant value assigned to the given local column.ForeignKey.getPrimaryKeyColumn(Column local) Return the primary key column joined to the given local column.ForeignKey.getPrimaryKeyConstant(Column pk) Return the constant value assigned to the given primary key column.Table.importColumn(Column col) Import a column from another table.booleanColumnIO.isAllInsertable(Column[] cols, boolean nullValue) Equivalent toisAllInsertable (cols.length, nullValue).booleanColumnIO.isAllUpdatable(Column[] cols, boolean nullValue) Equivalent toisAllUpdatable (cols.length, nullValue).booleanColumnIO.isAnyInsertable(Column[] cols, boolean nullValue) Equivalent toisAnyInsertable (cols.length, nullValue).booleanColumnIO.isAnyUpdatable(Column[] cols, boolean nullValue) Equivalent toisAnyUpdatable (cols.length, nullValue).booleanColumnIO.isInsertable(Column col, boolean nullValue) Equivalent toisInsertable (0, nullValue), but returns false if the given column is null.booleanColumnIO.isUpdatable(Column col, boolean nullValue) Equivalent toisUpdatable (0, nullValue), but returns false if the given column is null.voidJoin a local column to a primary key column of another table.voidForeignKey.joinConstant(Object val, Column toPK) Join a constant value to a primary key column of another table.voidForeignKey.joinConstant(Column col, Object val) Join a constant value to a local column of this table.booleanLocalConstraint.removeColumn(Column col) Remove a column from the constraint.booleanTable.removeColumn(Column col) Remove the given column from the table.booleanForeignKey.removeJoin(Column col) Remove any joins inolving the given column.voidLocalConstraint.setColumns(Column[] cols) Set the columns the constraint spans.voidForeignKey.setConstantJoins(Object[] consts, Column[] pkCols) Set the foreign key's constant joins.voidForeignKey.setConstantJoins(Column[] cols, Object[] consts) Set the foreign key's constant joins.voidSet the foreign key's joins. -
Uses of Column in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql that return ColumnModifier and TypeMethodDescriptionColumn[]AbstractSQLServerDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String colName, Connection conn) Column[]DBDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Deprecated.Column[]DBDictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Reflect on the schema to find columns matching the given table and column patterns.Column[]FoxProDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Column[]FoxProDictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Column[]H2Dictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Column[]H2Dictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Column[]HSQLDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Column[]HSQLDictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Column[]InformixDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Column[]InformixDictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Column[]OracleDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Column[]OracleDictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Column[]PointbaseDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Column[]PointbaseDictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Column[]RowImpl.getColumns()Column[]SQLServerDictionary.getColumns(DatabaseMetaData meta, String catalog, String schemaName, String tableName, String columnName, Connection conn) Column[]SQLServerDictionary.getColumns(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, DBIdentifier columnName, Connection conn) Column[]StoredProcedure.getColumns()Column[]StoredProcedure.getInColumns()Column[]StoredProcedure.getInOutColumns()Column[]StoredProcedure.getOutColumns()Column[]StoredProcedure.getResultColumns()Column[]StoredProcedure.getReturnColumns()protected ColumnCreate a new column from the information in the schema metadata.protected Columnprotected ColumnMethods in org.apache.openjpa.jdbc.sql with parameters of type ColumnModifier and TypeMethodDescriptionprotected StringDBDictionary.appendSize(Column col, String typeName) Helper method to add size properties to the specified type.protected StringFirebirdDictionary.appendSize(Column col, String typeName) On Firebird 1.5 reduce the size of indexedVARCHARcolumn to 252 or a value specified by user. 252 is the maximum Firebird 1.5 can handle for one-column indexes.protected StringFoxProDictionary.appendSize(Column col, String typeName) protected StringInterbaseDictionary.appendSize(Column col, String typeName) SQLBuffer.appendValue(Object o, Column col) Append a system inserted parameter value for a specific column.SQLBuffer.appendValue(Object o, Column col, Parameter userParam) Append a user parameter value for a specific column.SQLBuffer.appendValue(Object o, Column col, Parameter userParam, boolean useParamToken) voidPrimaryRow.clearRelationId(Column col) voidRowImpl.clearRelationId(Column col) Clear a circular relation id.booleanbooleanbooleanReturn true if the given column is available in the result.booleanAbstractResult.containsAll(Column[] cols, Joins joins) booleanMergedResult.containsAll(Column[] cols, Joins joins) booleanResult.containsAll(Column[] cols, Joins joins) Return true if all the given columns are available in the result.voidDB2Dictionary.createIndexIfNecessary(Schema schema, String table, Column pkColumn) Create an index if necessary for some database tablesvoidDB2Dictionary.createIndexIfNecessary(Schema schema, DBIdentifier table, Column pkColumn) voidDBDictionary.createIndexIfNecessary(Schema schema, String table, Column pkColumn) Deprecated.voidDBDictionary.createIndexIfNecessary(Schema schema, DBIdentifier table, Column pkColumn) SelectImpl.executeQuery(Connection conn, PreparedStatement stmnt, String sql, JDBCStore store, Object[] params, Column[] cols) This method is to provide override for non-JDBC or JDBC-like implementation of executing query.String[]DBDictionary.getAddColumnSQL(Column column) Return a series of SQL statements to add the given column to its table.String[]H2Dictionary.getAddColumnSQL(Column column) String[]HSQLDictionary.getAddColumnSQL(Column column) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.AbstractResult.getAsciiStream(Column col, Joins joins) MergedResult.getAsciiStream(Column col, Joins joins) Result.getAsciiStream(Column col, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected StringSolidDBDictionary.getAutoGenSeqName(Column col) AbstractResult.getBigDecimal(Column col, Joins joins) MergedResult.getBigDecimal(Column col, Joins joins) Result.getBigDecimal(Column col, Joins joins) Return the value stored in the given column.AbstractResult.getBigInteger(Column col, Joins joins) MergedResult.getBigInteger(Column col, Joins joins) Result.getBigInteger(Column col, Joins joins) Return the value stored in the given column.AbstractResult.getBinaryStream(Column col, Joins joins) MergedResult.getBinaryStream(Column col, Joins joins) Result.getBinaryStream(Column col, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.booleanAbstractResult.getBoolean(Column col, Joins joins) booleanMergedResult.getBoolean(Column col, Joins joins) booleanResult.getBoolean(Column col, Joins joins) Return the value stored in the given column.bytebytebyteReturn the value stored in the given column.byte[]byte[]byte[]Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.AbstractResult.getCalendar(Column col, Joins joins) MergedResult.getCalendar(Column col, Joins joins) Result.getCalendar(Column col, Joins joins) Return the value stored in the given column.DB2Dictionary.getCastFunction(Val val, String func, Column col) Return the correct CAST function syntaxDBDictionary.getCastFunction(Val val, String func, Column col) Return the correct CAST function syntax.charcharcharReturn the value stored in the given column.AbstractResult.getCharacterStream(Column col, Joins joins) MergedResult.getCharacterStream(Column col, Joins joins) Result.getCharacterStream(Column col, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.LogicalUnion.UnionSelect.getColumnAlias(Column col) LogicalUnion.UnionSelect.getColumnAlias(Column col, Object alias) LogicalUnion.UnionSelect.getColumnAlias(Column col, Joins joins) Select.getColumnAlias(Column col) Return the alias for the given column.Select.getColumnAlias(Column col, Object path) Return the alias for the given column, without creating new table aliasSelect.getColumnAlias(Column col, Joins joins) Return the alias for the given column.SelectImpl.getColumnAlias(Column col) SelectImpl.getColumnAlias(Column col, Object path) Return the alias for the give columnSelectImpl.getColumnAlias(Column col, Joins joins) DBDictionary.getColumnDBName(Column column) DBDictionary.getColumnIdentifier(Column column) Returns the name of the column using database specific delimiters.Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.Return the value stored in the given column.protected intDBDictionary.getDateFractionDigits(Column col, String typeName) Only get's used if no explicit scale is used (@{code @Column(scale=0)} which is the default).protected StringDBDictionary.getDeclareColumnSQL(Column col, boolean alter) Return the declaration SQL for the given column.protected StringOracleDictionary.getDeclareColumnSQL(Column col, boolean alter) Return the declaration SQL for the given column.protected StringSybaseDictionary.getDeclareColumnSQL(Column col, boolean alter) doubledoubledoubleReturn the value stored in the given column.String[]DBDictionary.getDropColumnSQL(Column column) Return a series of SQL statements to drop the given column from its table.String[]EmpressDictionary.getDropColumnSQL(Column column) String[]FirebirdDictionary.getDropColumnSQL(Column column) ReturnALTER TABLE <table name> DROP <col name>.String[]InterbaseDictionary.getDropColumnSQL(Column column) String[]SybaseDictionary.getDropColumnSQL(Column column) floatfloatfloatReturn the value stored in the given column.DBDictionary.getGeneratedKey(Column col, Connection conn) Return the last generated value for the given column.OracleDictionary.getGeneratedKey(Column col, Connection conn) protected StringDBDictionary.getGeneratedKeySequenceName(Column col) Return the sequence name used by databases for the given autoassigned column.protected StringOracleDictionary.getGeneratedKeyTriggerName(Column col) Trigger name for simulating auto-assign values on the given column.protected StringSolidDBDictionary.getGeneratedKeyTriggerName(Column col) Trigger name for simulating auto-assign values on the given column.protected StringDBDictionary.getGenKeySeqName(String query, Column col) protected StringSolidDBDictionary.getGenKeySeqName(String query, Column col) intintintReturn the value stored in the given column.protected ObjectThis method is to provide override for non-JDBC or JDBC-like implementation of getting key from the result set.Return the value stored in the given column.longlonglongReturn the value stored in the given column.DBDictionary.getMarkerForInsertUpdate(Column col, Object val) Return parameter marker for INSERT and UPDATE statements.OracleDictionary.getMarkerForInsertUpdate(Column col, Object val) Oracle requires special handling of XML column.Return the value stored in the given column.Return the value stored in the given column.protected StringOracleDictionary.getOpenJPA3GeneratedKeySequenceName(Column col) Returns a OpenJPA 3-compatible name for an auto-assign sequence.protected StringSolidDBDictionary.getOpenJPA3GeneratedKeySequenceName(Column col) Returns a OpenJPA 3-compatible name for an auto-assign sequence.protected StringOracleDictionary.getOpenJPA3GeneratedKeyTriggerName(Column col) Returns a OpenJPA 3-compatible name for an auto-assign trigger.protected StringSolidDBDictionary.getOpenJPA3GeneratedKeyTriggerName(Column col) Returns a OpenJPA 3-compatible name for an auto-assign trigger.DBDictionary.getPlaceholderValueString(Column col) Return a SQL string to act as a placeholder for the given column.FirebirdDictionary.getPlaceholderValueString(Column col) Return<value> AS <type>.HSQLDictionary.getPlaceholderValueString(Column col) PostgresDictionary.getPlaceholderValueString(Column col) Return a SQL string to act as a placeholder for the given column.Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.PrimaryRow.getRelationIdCallback(Column col) Return the recorded callbacks for the given relation id column.PrimaryRow.getRelationIdSet(Column col) Return the recorded value for the given relation id column.Return the value set for update on the given column.shortshortshortReturn the value stored in the given column.AbstractResult.getSQLObject(Column col, Map map, Joins joins) MergedResult.getSQLObject(Column col, Map map, Joins joins) Result.getSQLObject(Column col, Map map, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.Return the value stored in the given column.Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.AbstractResult.getTimestamp(Column col, Calendar cal, Joins joins) MergedResult.getTimestamp(Column col, Calendar cal, Joins joins) Result.getTimestamp(Column col, Calendar cal, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.DBDictionary.getTypeName(Column col) Return the preferred database type name for the given column's type fromTypes.MariaDBDictionary.getTypeName(Column col) OPENJPA-740 Special case for MySql special column types, like LONGTEXT, LONGBLOG etc..MySQLDictionary.getTypeName(Column col) OPENJPA-740 Special case for MySql special column types, like LONGTEXT, LONGBLOG etc..DBDictionary.getVersionColumn(Column column, String tableAlias) Return version column nameDBDictionary.getVersionColumn(Column column, DBIdentifier tableAlias) Return the value set for where on the given column.voidvoidvoidvoidvoidGroup by the given column.voidGroup by the given columns.voidGroup by the given columns.voidGroup by the given column.voidvoidvoidvoidvoidDB2Dictionary.insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, Object ob, Select sel) voidDBDictionary.insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, Object ob, Select sel) voidOracleDictionary.insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, Object ob, Select sel) voidPostgresDictionary.insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, Object ob, Select sel) voidDB2Dictionary.insertClobForStreamingLoad(Row row, Column col, Object ob) voidDBDictionary.insertClobForStreamingLoad(Row row, Column col, Object ob) voidOracleDictionary.insertClobForStreamingLoad(Row row, Column col, Object ob) protected RowImplPrimaryRow.newInstance(Column[] cols, int action) protected RowImplRowImpl.newInstance(Column[] cols, int action) Return a new row.protected RowImplSecondaryRow.newInstance(Column[] cols, int action) intintbooleanbooleanintOrder by the given columns.intOrder by the given columns.booleanOrder by the given column.booleanOrder by the given column.intintbooleanbooleanprotected voidLogicalUnion.UnionSelect.recordOrderColumns(Column[] cols, boolean asc) Record that we're ordering by the given columns.booleanintintbooleanbooleanSelect the given column.intSelect the given columns.intSelect the given columns.booleanSelect the given column.booleanintintbooleanbooleanLogicalUnion.UnionSelect.selectIdentifier(Column col) intLogicalUnion.UnionSelect.selectIdentifier(Column[] cols) intLogicalUnion.UnionSelect.selectIdentifier(Column[] cols, Joins joins) booleanLogicalUnion.UnionSelect.selectIdentifier(Column col, Joins joins) booleanSelect.selectIdentifier(Column col) Select the given column as one that can be used to get a count of distinct matches.intSelect.selectIdentifier(Column[] cols) Select the given columns as ones that can be used to get a count of distinct matches.intSelect.selectIdentifier(Column[] cols, Joins joins) Select the given columns as ones that can be used to get a count of distinct matches.booleanSelect.selectIdentifier(Column col, Joins joins) Select the given column as one that can be used to get a count of distinct matches.booleanSelectImpl.selectIdentifier(Column col) intSelectImpl.selectIdentifier(Column[] cols) intSelectImpl.selectIdentifier(Column[] cols, Joins joins) booleanSelectImpl.selectIdentifier(Column col, Joins joins) voidDBDictionary.setArray(PreparedStatement stmnt, int idx, Array val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setAsciiStream(PreparedStatement stmnt, int idx, InputStream val, int length, Column col) Set the given value as a parameter to the statement.voidRow.setAsciiStream(Column col, InputStream val, int length) Set the value of the given column in this row.voidRowImpl.setAsciiStream(Column col, InputStream val, int length) voidDBDictionary.setBigDecimal(PreparedStatement stmnt, int idx, BigDecimal val, Column col) Set the given value as a parameter to the statement.voidHSQLDictionary.setBigDecimal(PreparedStatement stmnt, int idx, BigDecimal val, Column col) voidRow.setBigDecimal(Column col, BigDecimal val) Set the value of the given column in this row.voidRowImpl.setBigDecimal(Column col, BigDecimal val) voidSolidDBDictionary.setBigDecimal(PreparedStatement stmnt, int idx, BigDecimal val, Column col) voidDBDictionary.setBigInteger(PreparedStatement stmnt, int idx, BigInteger val, Column col) Set the given value as a parameter to the statement.voidRow.setBigInteger(Column col, BigInteger val) Set the value of the given column in this row.voidRowImpl.setBigInteger(Column col, BigInteger val) voidSybaseDictionary.setBigInteger(PreparedStatement stmnt, int idx, BigInteger val, Column col) voidDBDictionary.setBinaryStream(PreparedStatement stmnt, int idx, InputStream val, int length, Column col) Set the given value as a parameter to the statement.voidOracleDictionary.setBinaryStream(PreparedStatement stmnt, int idx, InputStream val, int length, Column col) voidRow.setBinaryStream(Column col, InputStream val, int length) Set the value of the given column in this row.voidRowImpl.setBinaryStream(Column col, InputStream val, int length) voidDBDictionary.setBlob(PreparedStatement stmnt, int idx, Blob val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setBlobObject(PreparedStatement stmnt, int idx, Object val, Column col, JDBCStore store) Set the given value as a parameter to the statement.voidDBDictionary.setBoolean(PreparedStatement stmnt, int idx, boolean val, Column col) Set the given value as a parameter to the statement.voidInformixDictionary.setBoolean(PreparedStatement stmnt, int idx, boolean val, Column col) voidRow.setBoolean(Column col, boolean val) Set the value of the given column in this row.voidRowImpl.setBoolean(Column col, boolean val) voidDBDictionary.setByte(PreparedStatement stmnt, int idx, byte val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDB2Dictionary.setBytes(PreparedStatement stmnt, int idx, byte[] val, Column col) Set the given value as a parameter to the statement.voidDBDictionary.setBytes(PreparedStatement stmnt, int idx, byte[] val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setCalendar(PreparedStatement stmnt, int idx, Calendar val, Column col) Set the given value as a parameter to the statement.voidRow.setCalendar(Column col, Calendar val) Set the value of the given column in this row.voidRowImpl.setCalendar(Column col, Calendar val) voidDBDictionary.setChar(PreparedStatement stmnt, int idx, char val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setCharacterStream(PreparedStatement stmnt, int idx, Reader val, int length, Column col) Set the given value as a parameter to the statement.voidRow.setCharacterStream(Column col, Reader val, int length) Set the value of the given column in this row.voidRowImpl.setCharacterStream(Column col, Reader val, int length) voidDBDictionary.setClob(PreparedStatement stmnt, int idx, Clob val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setClobString(PreparedStatement stmnt, int idx, String val, Column col) Set the given value as a parameter to the statement.voidOracleDictionary.setClobString(PreparedStatement stmnt, int idx, String val, Column col) voidPostgresDictionary.setClobString(PreparedStatement stmnt, int idx, String val, Column col) If column is an XML column, PostgreSQL requires that its value is set by usingPreparedStatement.setObject(int, Object, int)withTypes.OTHERas the third argument.voidDB2Dictionary.setDate(PreparedStatement stmnt, int idx, Date val, Column col) Set the given date value as a parameter to the statement.voidDBDictionary.setDate(PreparedStatement stmnt, int idx, Date val, Calendar cal, Column col) Set the given value as a parameter to the statement.voidDBDictionary.setDate(PreparedStatement stmnt, int idx, Date val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidSet the value of the given column in this row.voidvoidvoidDBDictionary.setDouble(PreparedStatement stmnt, int idx, double val, Column col) Set the given value as a parameter to the statement.voidEmpressDictionary.setDouble(PreparedStatement stmnt, int idx, double val, Column col) voidHSQLDictionary.setDouble(PreparedStatement stmnt, int idx, double val, Column col) voidSet the value of the given column in this row.voidvoidSolidDBDictionary.setDouble(PreparedStatement stmnt, int idx, double val, Column col) voidDBDictionary.setFloat(PreparedStatement stmnt, int idx, float val, Column col) Set the given value as a parameter to the statement.voidEmpressDictionary.setFloat(PreparedStatement stmnt, int idx, float val, Column col) voidSet the value of the given column in this row.voidvoidDBDictionary.setInt(PreparedStatement stmnt, int idx, int val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setLocalDate(PreparedStatement stmnt, int idx, LocalDate val, Column col) Set the given LocalDate value as a parameter to the statement.voidH2Dictionary.setLocalDate(PreparedStatement stmnt, int idx, LocalDate val, Column col) voidOracleDictionary.setLocalDate(PreparedStatement stmnt, int idx, LocalDate val, Column col) voidPostgresDictionary.setLocalDate(PreparedStatement stmnt, int idx, LocalDate val, Column col) voidDBDictionary.setLocalDateTime(PreparedStatement stmnt, int idx, LocalDateTime val, Column col) Set the given LocalTime value as a parameter to the statement.voidH2Dictionary.setLocalDateTime(PreparedStatement stmnt, int idx, LocalDateTime val, Column col) voidOracleDictionary.setLocalDateTime(PreparedStatement stmnt, int idx, LocalDateTime val, Column col) voidPostgresDictionary.setLocalDateTime(PreparedStatement stmnt, int idx, LocalDateTime val, Column col) voidSQLServerDictionary.setLocalDateTime(PreparedStatement stmnt, int idx, LocalDateTime val, Column col) voidDBDictionary.setLocale(PreparedStatement stmnt, int idx, Locale val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setLocalTime(PreparedStatement stmnt, int idx, LocalTime val, Column col) Set the given LocalTime value as a parameter to the statement.voidH2Dictionary.setLocalTime(PreparedStatement stmnt, int idx, LocalTime val, Column col) voidOracleDictionary.setLocalTime(PreparedStatement stmnt, int idx, LocalTime val, Column col) voidPostgresDictionary.setLocalTime(PreparedStatement stmnt, int idx, LocalTime val, Column col) voidSQLServerDictionary.setLocalTime(PreparedStatement stmnt, int idx, LocalTime val, Column col) voidAccessDictionary.setLong(PreparedStatement stmnt, int idx, long val, Column col) voidDBDictionary.setLong(PreparedStatement stmnt, int idx, long val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidAbstractSQLServerDictionary.setNull(PreparedStatement stmnt, int idx, int colType, Column col) voidDBDictionary.setNull(PreparedStatement stmnt, int idx, int colType, Column col) Set null as a parameter to the statement.voidFoxProDictionary.setNull(PreparedStatement stmnt, int idx, int colType, Column col) voidOracleDictionary.setNull(PreparedStatement stmnt, int idx, int colType, Column col) voidPostgresDictionary.setNull(PreparedStatement stmnt, int idx, int colType, Column col) Handle XML and bytea/oid columns in a PostgreSQL way.voidSet the value of the given column in this row.voidSet the value of the given column in this row.voidvoidvoidDBDictionary.setNumber(PreparedStatement stmnt, int idx, Number num, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setObject(PreparedStatement stmnt, int idx, Object val, int colType, Column col) Set the given value as a parameter to the statement.protected voidvoidSet the value of the given column in this row.voidprotected voidAll set column methods delegate to this one.voidDBDictionary.setOffsetDateTime(PreparedStatement stmnt, int idx, OffsetDateTime val, Column col) Set the given LocalTime value as a parameter to the statement.voidH2Dictionary.setOffsetDateTime(PreparedStatement stmnt, int idx, OffsetDateTime val, Column col) voidOracleDictionary.setOffsetDateTime(PreparedStatement stmnt, int idx, OffsetDateTime val, Column col) voidPostgresDictionary.setOffsetDateTime(PreparedStatement stmnt, int idx, OffsetDateTime val, Column col) voidSQLServerDictionary.setOffsetDateTime(PreparedStatement stmnt, int idx, OffsetDateTime val, Column col) voidDBDictionary.setOffsetTime(PreparedStatement stmnt, int idx, OffsetTime val, Column col) Set the given LocalTime value as a parameter to the statement.voidPostgresDictionary.setOffsetTime(PreparedStatement stmnt, int idx, OffsetTime val, Column col) default column type for OffsetTime is 'time with time zone'.voidSet a DB understood value for the given column.voidvoidDBDictionary.setRef(PreparedStatement stmnt, int idx, Ref val, Column col) Set the given value as a parameter to the statement.voidPrimaryRow.setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) voidRow.setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) Set the value of the given column to the identity of given instance, using the given callback to create the column value.voidRowImpl.setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) voidSecondaryRow.setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) voidDBDictionary.setShort(PreparedStatement stmnt, int idx, short val, Column col) Set the given value as a parameter to the statement.voidSet the value of the given column in this row.voidvoidDBDictionary.setString(PreparedStatement stmnt, int idx, String val, Column col) Set the given value as a parameter to the statement.voidOracleDictionary.setString(PreparedStatement stmnt, int idx, String val, Column col) voidSet the value of the given column in this row.voidvoidDBDictionary.setTime(PreparedStatement stmnt, int idx, Time val, Calendar cal, Column col) Set the given value as a parameter to the statement.voidMariaDBDictionary.setTime(PreparedStatement stmnt, int idx, Time val, Calendar cal, Column col) voidSet the value of the given column in this row.voidvoidSQLServerDictionary.setTime(PreparedStatement stmnt, int idx, Time val, Calendar cal, Column col) voidDBDictionary.setTimestamp(PreparedStatement stmnt, int idx, Timestamp val, Calendar cal, Column col) Set the given value as a parameter to the statement.voidRow.setTimestamp(Column col, Timestamp val, Calendar cal) Set the value of the given column in this row.voidRowImpl.setTimestamp(Column col, Timestamp val, Calendar cal) voidDBDictionary.setTyped(PreparedStatement stmnt, int idx, Object val, Column col, int type, JDBCStore store) Set a column value into a prepared statement.voidDBDictionary.setUnknown(PreparedStatement stmt, int idx, Object val, Column col) Set a completely unknown parameter into a prepared statement.voidDBDictionary.setUnknown(PreparedStatement stmnt, int idx, Column col, Object val) Set a completely unknown parameter into a prepared statement.booleanDBDictionary.validateBatchProcess(RowImpl row, Column[] autoAssign, OpenJPAStateManager sm, ClassMapping cmd) Validate the batch process.booleanDBDictionary.validateDBSpecificBatchProcess(boolean disableBatch, RowImpl row, Column[] autoAssign, OpenJPAStateManager sm, ClassMapping cmd) Allow each Dictionary to validate its own batch process.voidRow.whereArray(Column col, Array val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereArray(Column col, Array val) voidRow.whereAsciiStream(Column col, InputStream val, int length) Set an equality condition on the value of the given column in this row.voidRowImpl.whereAsciiStream(Column col, InputStream val, int length) voidRow.whereBigDecimal(Column col, BigDecimal val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereBigDecimal(Column col, BigDecimal val) voidRow.whereBigInteger(Column col, BigInteger val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereBigInteger(Column col, BigInteger val) voidRow.whereBinaryStream(Column col, InputStream val, int length) Set an equality condition on the value of the given column in this row.voidRowImpl.whereBinaryStream(Column col, InputStream val, int length) voidSet an equality condition on the value of the given column in this row.voidvoidRow.whereBoolean(Column col, boolean val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereBoolean(Column col, boolean val) voidSet an equality condition on the value of the given column in this row.voidvoidRow.whereBytes(Column col, byte[] val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereBytes(Column col, byte[] val) voidRow.whereCalendar(Column col, Calendar val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereCalendar(Column col, Calendar val) voidSet an equality condition on the value of the given column in this row.voidvoidRow.whereCharacterStream(Column col, Reader val, int length) Set an equality condition on the value of the given column in this row.voidRowImpl.whereCharacterStream(Column col, Reader val, int length) voidSet an equality condition on the value of the given column in this row.voidvoidSet an equality condition on the value of the given column in this row.voidSet an equality condition on the value of the given column in this row.voidvoidvoidRow.whereDouble(Column col, double val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereDouble(Column col, double val) voidRow.whereFloat(Column col, float val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereFloat(Column col, float val) voidSet an equality condition on the value of the given column in this row.voidvoidRow.whereLocale(Column col, Locale val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereLocale(Column col, Locale val) voidSet an equality condition on the value of the given column in this row.voidvoidSet an equality condition on the value of the given column in this row.voidvoidRow.whereNumber(Column col, Number val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereNumber(Column col, Number val) voidRow.whereObject(Column col, Object val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereObject(Column col, Object val) protected voidRowImpl.whereObject(Column col, Object val, int metaType) All where column methods delegate to this one.voidSet a DB understood where condition for the given column.voidvoidRow.whereShort(Column col, short val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereShort(Column col, short val) voidRow.whereString(Column col, String val) Set an equality condition on the value of the given column in this row.voidRowImpl.whereString(Column col, String val) voidSet an equality condition on the value of the given column in this row.voidvoidRow.whereTimestamp(Column col, Timestamp val, Calendar cal) Set an equality condition on the value of the given column in this row.voidRowImpl.whereTimestamp(Column col, Timestamp val, Calendar cal) Constructors in org.apache.openjpa.jdbc.sql with parameters of type ColumnModifierConstructorDescriptionprotectedPrimaryRow(Column[] cols, int action, OpenJPAStateManager owner) protectedprotectedSecondaryRow(Column[] cols, int action) -
Uses of Column in org.apache.openjpa.persistence.jdbc
Methods in org.apache.openjpa.persistence.jdbc with parameters of type ColumnModifier and TypeMethodDescriptionvoidPersistenceMappingDefaults.populateColumns(Version vers, Table table, Column[] cols) voidPersistenceMappingDefaults.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) voidPersistenceMappingDefaults.populateForeignKeyColumn(ValueMapping vm, DBIdentifier sName, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) voidPersistenceMappingDefaults.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols) protected voidAnnotationPersistenceMappingParser.setMapKeyColumn(FieldMapping fm, MappingInfo info, Column col, int unique) Set the given map key column as the map key column forfm.protected voidAnnotationPersistenceMappingParser.setTargetIdentifier(Column col, String refColumnName) protected voidXMLPersistenceMappingParser.setTargetIdentifier(Column col, String refColumnName) Method parameters in org.apache.openjpa.persistence.jdbc with type arguments of type ColumnModifier and TypeMethodDescriptionprotected voidAnnotationPersistenceMappingParser.setColumns(FieldMapping fm, MappingInfo info, List<Column> cols, int unique) Set the given columns as the columns forfm.