|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Column | |
---|---|
org.apache.openjpa.jdbc.kernel | OpenJPA-JDBC Runtime Kernel |
org.apache.openjpa.jdbc.kernel.exps | OpenJPA-JDBC Expression Tree |
org.apache.openjpa.jdbc.meta | OpenJPA-JDBC ORM Metadata |
org.apache.openjpa.jdbc.meta.strats | OpenJPA-JDBC ORM Strategies |
org.apache.openjpa.jdbc.schema | OpenJPA-JDBC Schema Management |
org.apache.openjpa.jdbc.sql | OpenJPA-JDBC SQL Abstraction |
org.apache.openjpa.persistence.jdbc | OpenJPA JPA-JDBC |
Uses of Column in org.apache.openjpa.jdbc.kernel |
---|
Methods in org.apache.openjpa.jdbc.kernel that return Column | |
---|---|
protected Column |
ClassTableJDBCSeq.addPrimaryKeyColumn(Table table)
|
protected Column |
ValueTableJDBCSeq.addPrimaryKeyColumn(Table table)
|
protected Column |
TableJDBCSeq.addPrimaryKeyColumn(Table table)
Add the primary key column to the given table and return it. |
Uses of Column in org.apache.openjpa.jdbc.kernel.exps |
---|
Fields in org.apache.openjpa.jdbc.kernel.exps declared as Column | |
---|---|
Column[] |
PCPath.PathExpState.cols
|
Methods in org.apache.openjpa.jdbc.kernel.exps that return Column | |
---|---|
Column[] |
PCPath.getColumns(ExpState state)
|
Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Column | |
---|---|
String |
FilterValue.getColumnAlias(Column col)
Return the alias to use for the given column (this includes the table alias prefix, if any). |
Uses of Column in org.apache.openjpa.jdbc.meta |
---|
Methods in org.apache.openjpa.jdbc.meta that return Column | |
---|---|
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. |
Column[] |
ValueMappingImpl.getColumns()
|
Column[] |
FieldMapping.getColumns()
|
Column[] |
ValueMapping.getColumns()
The columns that hold the data for this value. |
Column[] |
Joinable.getColumns()
The columns managed by this joinable. |
Column[] |
DelegatingJoinable.getColumns()
|
Column[] |
Version.getColumns()
Columns used for versioning. |
Column[] |
Embeddable.getColumns()
Return the columns used by this strategy. |
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[] |
ValueMappingInfo.getColumns(ValueMapping val,
String name,
Column[] tmplates,
Table table,
boolean adapt)
Return the columns for this value, based on the given templates. |
Column[] |
VersionMappingInfo.getColumns(Version version,
Column[] tmplates,
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 |
ValueMappingInfo.getNullIndicatorColumn(ValueMapping val,
String name,
Table table,
boolean adapt)
Return the null indicator column for this value, or null if none. |
Column |
FieldMappingInfo.getOrderColumn()
Raw synthetic ordering column. |
Column |
FieldMapping.getOrderColumn()
Field order column, if any. |
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 Column |
MappingInfo.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 Column |
MappingInfo.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 with parameters of type Column | |
---|---|
protected boolean |
MappingDefaultsImpl.areAllPrimaryKeyColumns(Column[] cols)
Return whether all the given columns are primary key columns. |
Joinable |
ClassMapping.assertJoinable(Column col)
Return the joinable for the given column, or throw an exception if none is available. |
protected void |
MappingDefaultsImpl.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 Index |
MappingInfo.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 Unique |
MappingInfo.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. |
int |
ValueMappingInfo.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)
Return the columns for this value, based on the given templates. |
Column[] |
VersionMappingInfo.getColumns(Version version,
Column[] tmplates,
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. |
String |
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. |
String |
PropertiesReverseCustomizer.getFieldName(ClassMapping dec,
Column[] cols,
ForeignKey fk,
String defaultName)
|
Class |
ReverseMappingTool.getFieldType(Column col,
boolean forceObject)
Return the default field type for the given column. |
Index |
DiscriminatorMappingInfo.getIndex(Discriminator discrim,
Column[] cols,
boolean adapt)
Return the index to set on the discriminator columns, or null if none. |
Index |
MappingDefaultsImpl.getIndex(Discriminator disc,
Table table,
Column[] cols)
|
Index |
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. |
Index |
NoneMappingDefaults.getIndex(Discriminator disc,
Table table,
Column[] cols)
|
Index |
MappingDefaultsImpl.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
Index |
MappingDefaults.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols)
Return a default index for the value, or null if the value columns should not be indexed by default. |
Index |
NoneMappingDefaults.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
Index |
VersionMappingInfo.getIndex(Version version,
Column[] cols,
boolean adapt)
Return the index to set on the version columns, or null if none. |
Index |
MappingDefaultsImpl.getIndex(Version vers,
Table table,
Column[] cols)
|
Index |
MappingDefaults.getIndex(Version vers,
Table table,
Column[] cols)
Return a default index for the version, or null if the version columns should not be indexed by default. |
Index |
NoneMappingDefaults.getIndex(Version vers,
Table table,
Column[] cols)
|
protected String |
MappingDefaultsImpl.getIndexName(String name,
Table table,
Column[] cols)
Generate an index name. |
Joinable |
ClassMapping.getJoinable(Column col)
Return the Joinable for the given column. |
Index |
MappingDefaultsImpl.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
|
Index |
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. |
Index |
NoneMappingDefaults.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
|
Unique |
MappingDefaultsImpl.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols)
|
Unique |
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. |
Unique |
NoneMappingDefaults.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols)
|
Object |
Joinable.getJoinValue(Object val,
Column col,
JDBCStore store)
Return the join value of the given column. |
Object |
DelegatingJoinable.getJoinValue(Object val,
Column col,
JDBCStore store)
|
Object |
Joinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
Return the join value of the given column. |
Object |
DelegatingJoinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
|
Object |
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. |
Object |
DelegatingJoinable.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
|
Unique |
MappingDefaultsImpl.getUnique(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
Unique |
MappingDefaults.getUnique(ValueMapping vm,
String name,
Table table,
Column[] cols)
Return a default constraint for the value, or null if the value columns should not be constrained by default. |
Unique |
NoneMappingDefaults.getUnique(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
protected static Column |
MappingInfo.mergeColumn(MetaDataContext context,
String prefix,
Column tmplate,
boolean compat,
Column given,
Table table,
boolean adapt,
boolean fill)
Merge the given columns if possible. |
FieldMapping |
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. |
void |
MappingInfo.ForeignKeyDefaults.populate(Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Populate the given foreign key column with defaults. |
void |
MappingDefaultsImpl.populateColumns(Discriminator disc,
Table table,
Column[] cols)
|
void |
MappingDefaults.populateColumns(Discriminator disc,
Table table,
Column[] cols)
Fill in default information for the given discriminator columns. |
void |
NoneMappingDefaults.populateColumns(Discriminator disc,
Table table,
Column[] cols)
|
void |
MappingDefaultsImpl.populateColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
void |
MappingDefaults.populateColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
Fill in default information for the given value columns. |
void |
NoneMappingDefaults.populateColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
void |
MappingDefaultsImpl.populateColumns(Version vers,
Table table,
Column[] cols)
|
void |
MappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols)
Fill in default information for the given version columns. |
void |
NoneMappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols)
|
void |
MappingDefaultsImpl.populateDataStoreIdColumns(ClassMapping cls,
Table table,
Column[] cols)
|
void |
MappingDefaults.populateDataStoreIdColumns(ClassMapping cls,
Table table,
Column[] cols)
Fill in default information for the given datastore identity columns. |
void |
NoneMappingDefaults.populateDataStoreIdColumns(ClassMapping cls,
Table table,
Column[] cols)
|
void |
MappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm,
String name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
|
void |
MappingDefaults.populateForeignKeyColumn(ValueMapping vm,
String 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. |
void |
NoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
String name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
|
void |
MappingDefaultsImpl.populateJoinColumn(ClassMapping cm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols)
|
void |
MappingDefaults.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. |
void |
NoneMappingDefaults.populateJoinColumn(ClassMapping cm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols)
|
void |
MappingDefaultsImpl.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols)
|
void |
MappingDefaults.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. |
void |
NoneMappingDefaults.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols)
|
boolean |
MappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
boolean |
MappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
Fill in default information for the given null indicator columns. |
boolean |
NoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
boolean |
MappingDefaultsImpl.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols)
|
boolean |
MappingDefaults.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols)
Fill in default information for the given order columns. |
boolean |
NoneMappingDefaults.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols)
|
void |
Joinable.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. |
void |
DelegatingJoinable.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autogen)
|
void |
ValueMappingImpl.setColumns(Column[] cols)
|
void |
FieldMapping.setColumns(Column[] cols)
|
void |
ValueMapping.setColumns(Column[] cols)
The columns that hold the data for this value. |
void |
Version.setColumns(Column[] cols)
Columns used for versioning. |
void |
Discriminator.setColumns(Column[] cols)
Columns used by this Discriminator. |
void |
ClassMapping.setJoinable(Column col,
Joinable joinable)
Add the given column-to-joinable mapping. |
void |
FieldMappingInfo.setOrderColumn(Column order)
Raw synthetic ordering column. |
void |
FieldMapping.setOrderColumn(Column order)
Field order column, if any. |
void |
ClassMapping.setPrimaryKeyColumns(Column[] cols)
The columns this mapping uses to uniquely identify an object. |
protected static Column |
MappingInfo.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 void |
MappingInfo.syncColumns(MetaDataContext context,
Column[] cols,
boolean forceJDBCType)
Sets internal column information to match the given mapped columns. |
Object |
ClassMapping.toDataStoreValue(Object obj,
Column[] cols,
JDBCStore store)
Return the given column value(s) for the given object. |
Object |
RelationId.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col)
Return the serialized value for the given related object, now that its id has been assigned. |
Constructors in org.apache.openjpa.jdbc.meta with parameters of type Column | |
---|---|
DelegatingJoinable(Joinable join,
Column[] cols)
Constructor. |
Uses of Column in org.apache.openjpa.jdbc.meta.strats |
---|
Methods in org.apache.openjpa.jdbc.meta.strats that return Column | |
---|---|
Column[] |
StringFieldStrategy.getColumns()
|
Column[] |
PrimitiveFieldStrategy.getColumns()
|
Column[] |
RelationFieldStrategy.getColumns()
|
Column[] |
HandlerFieldStrategy.getColumns()
|
Column[] |
RelationCollectionInverseKeyFieldStrategy.getElementColumns(ClassMapping elem)
|
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 from LRSCollectionFieldStrategy.getIndependentElementMappings(boolean)
(or null). |
Column[] |
RelationCollectionTableFieldStrategy.getElementColumns(ClassMapping elem)
|
Column[] |
LRSMapFieldStrategy.getKeyColumns(ClassMapping cls)
Return the columns holding data for a map key for the given key mapping from LRSMapFieldStrategy.getIndependentKeyMappings(boolean) or
LRSMapFieldStrategy.getIndependentValueMappings(boolean) (or null). |
Column[] |
RelationRelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls)
|
Column[] |
RelationMapInverseKeyFieldStrategy.getKeyColumns(ClassMapping cls)
|
Column[] |
RelationHandlerMapTableFieldStrategy.getKeyColumns(ClassMapping cls)
|
Column[] |
HandlerHandlerMapTableFieldStrategy.getKeyColumns(ClassMapping cls)
|
Column[] |
RelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls)
|
Column[] |
HandlerRelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls)
|
Column[] |
LRSMapFieldStrategy.getValueColumns(ClassMapping cls)
Return the columns holding data for a map value for the given value mapping from LRSMapFieldStrategy.getIndependentKeyMappings(boolean) or
LRSMapFieldStrategy.getIndependentValueMappings(boolean) (or null). |
Column[] |
RelationRelationMapTableFieldStrategy.getValueColumns(ClassMapping cls)
|
Column[] |
RelationMapInverseKeyFieldStrategy.getValueColumns(ClassMapping cls)
|
Column[] |
RelationHandlerMapTableFieldStrategy.getValueColumns(ClassMapping cls)
|
Column[] |
HandlerHandlerMapTableFieldStrategy.getValueColumns(ClassMapping cls)
|
Column[] |
RelationMapTableFieldStrategy.getValueColumns(ClassMapping cls)
|
Column[] |
HandlerRelationMapTableFieldStrategy.getValueColumns(ClassMapping cls)
|
Column[] |
ObjectIdValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
static Column[] |
HandlerStrategies.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Map the given value. |
Column[] |
UntypedPCValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
ElementEmbedValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
ClobValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
EnumValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
CharArrayStreamValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
XMLValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
ImmutableValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
BlobValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
ByteArrayValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Column[] |
CharArrayValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
|
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type Column | |
---|---|
Object |
StringFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store)
|
Object |
PrimitiveFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store)
|
Object |
RelationFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store)
|
Object |
HandlerFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store)
|
Object |
StringFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
|
Object |
PrimitiveFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
|
Object |
RelationFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
|
Object |
HandlerFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
|
Object |
StringFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
|
Object |
PrimitiveFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
|
Object |
RelationFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
|
Object |
HandlerFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
|
protected Object |
MaxEmbeddedByteArrayFieldStrategy.load(Column col,
Result res,
Joins joins)
|
protected Object |
MaxEmbeddedCharArrayFieldStrategy.load(Column col,
Result res,
Joins joins)
|
static Object |
HandlerStrategies.loadDataStore(ValueMapping vm,
Result res,
Joins joins,
Column[] cols)
Load the datastore value from the given result. |
static Object |
HandlerStrategies.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 RowImpl |
StateComparisonVersionStrategy.CustomUpdate.newInstance(Column[] cols,
int action)
|
static boolean |
HandlerStrategies.set(ValueMapping vm,
Object val,
JDBCStore store,
Row row,
Column[] cols,
ColumnIO io,
boolean nullNone)
Set the given value into the given row. |
void |
StringFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc)
|
void |
PrimitiveFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc)
|
void |
RelationFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc)
|
void |
HandlerFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc)
|
void |
StateComparisonVersionStrategy.CustomUpdate.setObject(Column col,
Object val)
|
protected Object |
EmbedValueHandler.toDataStoreValue(OpenJPAStateManager em,
ValueMapping vm,
JDBCStore store,
Column[] cols,
Object rval,
int idx)
Helper to convert an object value to its datastore equivalent. |
static Object |
HandlerStrategies.toDataStoreValue(ValueMapping vm,
Object val,
Column[] cols,
JDBCStore store)
Convert the given object to its datastore value(s). |
protected void |
EmbedValueHandler.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. |
Object |
UntypedPCValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col)
|
Object |
ElementEmbedValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col)
|
static void |
HandlerStrategies.where(ValueMapping vm,
Object val,
JDBCStore store,
Row row,
Column[] cols)
Add where conditions to the given row. |
Uses of Column in org.apache.openjpa.jdbc.schema |
---|
Fields in org.apache.openjpa.jdbc.schema declared as Column | |
---|---|
static Column[] |
Schemas.EMPTY_COLUMNS
|
Methods in org.apache.openjpa.jdbc.schema that return Column | |
---|---|
Column |
Table.addColumn(String name)
Add a column to the table. |
Column[] |
Table.getAutoAssignedColumns()
Return this table's auto-assigned columns. |
Column |
ForeignKey.getColumn(Column pk)
Return the local column joined to the given primary key column. |
Column |
Table.getColumn(String name)
Return the column with the given name, or null if none. |
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. |
Column |
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 of ForeignKey.getColumns() . |
Column[] |
Table.getRelationIdColumns()
Return this table's relation id columns. |
Column |
Table.importColumn(Column col)
Import a column from another table. |
protected Column |
SchemaGroup.newColumn(String name,
Table table)
Return a new column with the given name and owner table. |
protected Column |
DynamicSchemaFactory.newColumn(String name,
Table table)
|
Methods in org.apache.openjpa.jdbc.schema with parameters of type Column | |
---|---|
void |
LocalConstraint.addColumn(Column col)
Add a column to the constraint. |
void |
PrimaryKey.addColumn(Column col)
|
void |
Unique.addColumn(Column col)
Adds the given column. |
boolean |
SchemaTool.addColumn(Column col)
Add the given column to the database schema. |
boolean |
LocalConstraint.columnsMatch(Column[] ocols)
Return true if the given columns match the columns of this constraint. |
boolean |
ForeignKey.columnsMatch(Column[] fkCols,
Column[] fkPKCols)
Return true if the given local and foreign columns match those on this key. |
boolean |
ForeignKey.columnsMatch(Column[] fkCols,
Column[] fkPKCols)
Return true if the given local and foreign columns match those on this key. |
boolean |
ForeignKey.containsColumn(Column col)
Return true if the fk includes the given local column. |
boolean |
LocalConstraint.containsColumn(Column col)
Return true if the pk includes the given column. |
boolean |
ForeignKey.containsConstantColumn(Column col)
Return true if the fk includes the given local column. |
boolean |
ForeignKey.containsConstantPrimaryKeyColumn(Column col)
Return true if the fk includes the given primary key column. |
boolean |
ForeignKey.containsPrimaryKeyColumn(Column col)
Return true if the fk includes the given primary key column. |
void |
Column.copy(Column from)
Copy information from the given column to this one. |
boolean |
SchemaTool.dropColumn(Column col)
Drop the given column from the database schema. |
boolean |
Column.equalsColumn(Column col)
Tests compatibility. |
Column |
ForeignKey.getColumn(Column pk)
Return the local column joined to the given primary key column. |
Object |
ForeignKey.getConstant(Column local)
Return the constant value assigned to the given local column. |
Column |
ForeignKey.getPrimaryKeyColumn(Column local)
Return the primary key column joined to the given local column. |
Object |
ForeignKey.getPrimaryKeyConstant(Column pk)
Return the constant value assigned to the given primary key column. |
Column |
Table.importColumn(Column col)
Import a column from another table. |
boolean |
ColumnIO.isAllInsertable(Column[] cols,
boolean nullValue)
Equivalent to isAllInsertable (cols.length, nullValue) . |
boolean |
ColumnIO.isAllUpdatable(Column[] cols,
boolean nullValue)
Equivalent to isAllUpdatable (cols.length, nullValue) . |
boolean |
ColumnIO.isAnyInsertable(Column[] cols,
boolean nullValue)
Equivalent to isAnyInsertable (cols.length, nullValue) . |
boolean |
ColumnIO.isAnyUpdatable(Column[] cols,
boolean nullValue)
Equivalent to isAnyUpdatable (cols.length, nullValue) . |
boolean |
ColumnIO.isInsertable(Column col,
boolean nullValue)
Equivalent to isInsertable (0, nullValue) , but returns
false if the given column is null. |
boolean |
ColumnIO.isUpdatable(Column col,
boolean nullValue)
Equivalent to isUpdatable (0, nullValue) , but returns
false if the given column is null. |
void |
ForeignKey.join(Column local,
Column toPK)
Join a local column to a primary key column of another table. |
void |
ForeignKey.joinConstant(Column col,
Object val)
Join a constant value to a local column of this table. |
void |
ForeignKey.joinConstant(Object val,
Column toPK)
Join a constant value to a primary key column of another table. |
boolean |
LocalConstraint.removeColumn(Column col)
Remove a column from the constraint. |
boolean |
Table.removeColumn(Column col)
Remove the given column from the table. |
boolean |
ForeignKey.removeJoin(Column col)
Remove any joins inolving the given column. |
void |
LocalConstraint.setColumns(Column[] cols)
Set the columns the constraint spans. |
void |
ForeignKey.setConstantJoins(Column[] cols,
Object[] consts)
Set the foreign key's constant joins. |
void |
ForeignKey.setConstantJoins(Object[] consts,
Column[] pkCols)
Set the foreign key's constant joins. |
void |
ForeignKey.setJoins(Column[] cols,
Column[] pkCols)
Set the foreign key's joins. |
void |
ForeignKey.setJoins(Column[] cols,
Column[] pkCols)
Set the foreign key's joins. |
Uses of Column in org.apache.openjpa.jdbc.sql |
---|
Methods in org.apache.openjpa.jdbc.sql that return Column | |
---|---|
Column[] |
RowImpl.getColumns()
|
Column[] |
InformixDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
|
Column[] |
AbstractSQLServerDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String colName,
Connection conn)
|
Column[] |
PointbaseDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
|
Column[] |
SQLServerDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
|
Column[] |
DBDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
Reflect on the schema to find columns matching the given table and column patterns. |
Column[] |
HSQLDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
|
Column[] |
OracleDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
|
Column[] |
FoxProDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
|
Column[] |
H2Dictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
|
Column |
InformixDictionary.newColumn(ResultSet colMeta)
|
protected Column |
MySQLDictionary.newColumn(ResultSet colMeta)
|
protected Column |
DBDictionary.newColumn(ResultSet colMeta)
Create a new column from the information in the schema metadata. |
Methods in org.apache.openjpa.jdbc.sql with parameters of type Column | |
---|---|
SQLBuffer |
SQLBuffer.append(Column col)
|
protected String |
InterbaseDictionary.appendSize(Column col,
String typeName)
|
protected String |
DBDictionary.appendSize(Column col,
String typeName)
Helper method to add size properties to the specified type. |
protected String |
FoxProDictionary.appendSize(Column col,
String typeName)
|
SQLBuffer |
SQLBuffer.appendValue(boolean b,
Column col)
Append a parameter value. |
SQLBuffer |
SQLBuffer.appendValue(byte b,
Column col)
Append a parameter value. |
SQLBuffer |
SQLBuffer.appendValue(char c,
Column col)
Append a parameter value. |
SQLBuffer |
SQLBuffer.appendValue(double d,
Column col)
Append a parameter value. |
SQLBuffer |
SQLBuffer.appendValue(float f,
Column col)
Append a parameter value. |
SQLBuffer |
SQLBuffer.appendValue(int i,
Column col)
Append a parameter value. |
SQLBuffer |
SQLBuffer.appendValue(long l,
Column col)
Append a parameter value. |
SQLBuffer |
SQLBuffer.appendValue(Object o,
Column col)
Append a parameter value for a specific column. |
SQLBuffer |
SQLBuffer.appendValue(short s,
Column col)
Append a parameter value. |
void |
RowImpl.clearRelationId(Column col)
Clear a circular relation id. |
void |
PrimaryRow.clearRelationId(Column col)
|
boolean |
MergedResult.contains(Column col,
Joins joins)
|
boolean |
Result.contains(Column col,
Joins joins)
Return true if the given column is available in the result. |
boolean |
AbstractResult.contains(Column col,
Joins joins)
|
boolean |
MergedResult.containsAll(Column[] cols,
Joins joins)
|
boolean |
Result.containsAll(Column[] cols,
Joins joins)
Return true if all the given columns are available in the result. |
boolean |
AbstractResult.containsAll(Column[] cols,
Joins joins)
|
void |
DB2Dictionary.createIndexIfNecessary(Schema schema,
String table,
Column pkColumn)
Create an index if necessary for some database tables |
void |
DBDictionary.createIndexIfNecessary(Schema schema,
String table,
Column pkColumn)
Create an index if necessary for some database tables |
String[] |
DBDictionary.getAddColumnSQL(Column column)
Return a series of SQL statements to add the given column to its table. |
String[] |
HSQLDictionary.getAddColumnSQL(Column column)
|
String[] |
H2Dictionary.getAddColumnSQL(Column column)
|
Array |
MergedResult.getArray(Column col,
Joins joins)
|
Array |
Result.getArray(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. |
Array |
AbstractResult.getArray(Column col,
Joins joins)
|
InputStream |
MergedResult.getAsciiStream(Column col,
Joins joins)
|
InputStream |
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. |
InputStream |
AbstractResult.getAsciiStream(Column col,
Joins joins)
|
BigDecimal |
MergedResult.getBigDecimal(Column col,
Joins joins)
|
BigDecimal |
Result.getBigDecimal(Column col,
Joins joins)
Return the value stored in the given column. |
BigDecimal |
AbstractResult.getBigDecimal(Column col,
Joins joins)
|
BigInteger |
MergedResult.getBigInteger(Column col,
Joins joins)
|
BigInteger |
Result.getBigInteger(Column col,
Joins joins)
Return the value stored in the given column. |
BigInteger |
AbstractResult.getBigInteger(Column col,
Joins joins)
|
InputStream |
MergedResult.getBinaryStream(Column col,
Joins joins)
|
InputStream |
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. |
InputStream |
AbstractResult.getBinaryStream(Column col,
Joins joins)
|
Blob |
MergedResult.getBlob(Column col,
Joins joins)
|
Blob |
Result.getBlob(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. |
Blob |
AbstractResult.getBlob(Column col,
Joins joins)
|
boolean |
MergedResult.getBoolean(Column col,
Joins joins)
|
boolean |
Result.getBoolean(Column col,
Joins joins)
Return the value stored in the given column. |
boolean |
AbstractResult.getBoolean(Column col,
Joins joins)
|
byte |
MergedResult.getByte(Column col,
Joins joins)
|
byte |
Result.getByte(Column col,
Joins joins)
Return the value stored in the given column. |
byte |
AbstractResult.getByte(Column col,
Joins joins)
|
byte[] |
MergedResult.getBytes(Column col,
Joins joins)
|
byte[] |
Result.getBytes(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. |
byte[] |
AbstractResult.getBytes(Column col,
Joins joins)
|
Calendar |
MergedResult.getCalendar(Column col,
Joins joins)
|
Calendar |
Result.getCalendar(Column col,
Joins joins)
Return the value stored in the given column. |
Calendar |
AbstractResult.getCalendar(Column col,
Joins joins)
|
String |
DB2Dictionary.getCastFunction(Val val,
String func,
Column col)
Return the correct CAST function syntax |
String |
DBDictionary.getCastFunction(Val val,
String func,
Column col)
Return the correct CAST function syntax. |
char |
MergedResult.getChar(Column col,
Joins joins)
|
char |
Result.getChar(Column col,
Joins joins)
Return the value stored in the given column. |
char |
AbstractResult.getChar(Column col,
Joins joins)
|
Reader |
MergedResult.getCharacterStream(Column col,
Joins joins)
|
Reader |
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. |
Reader |
AbstractResult.getCharacterStream(Column col,
Joins joins)
|
Clob |
MergedResult.getClob(Column col,
Joins joins)
|
Clob |
Result.getClob(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. |
Clob |
AbstractResult.getClob(Column col,
Joins joins)
|
String |
Select.getColumnAlias(Column col)
Return the alias for the given column. |
String |
LogicalUnion.UnionSelect.getColumnAlias(Column col)
|
String |
SelectImpl.getColumnAlias(Column col)
|
String |
Select.getColumnAlias(Column col,
Joins joins)
Return the alias for the given column. |
String |
LogicalUnion.UnionSelect.getColumnAlias(Column col,
Joins joins)
|
String |
SelectImpl.getColumnAlias(Column col,
Joins joins)
|
Date |
MergedResult.getDate(Column col,
Calendar cal,
Joins joins)
|
Date |
Result.getDate(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. |
Date |
AbstractResult.getDate(Column col,
Calendar cal,
Joins joins)
|
Date |
MergedResult.getDate(Column col,
Joins joins)
|
Date |
Result.getDate(Column col,
Joins joins)
Return the value stored in the given column. |
Date |
AbstractResult.getDate(Column col,
Joins joins)
|
protected String |
SybaseDictionary.getDeclareColumnSQL(Column col,
boolean alter)
|
protected String |
DBDictionary.getDeclareColumnSQL(Column col,
boolean alter)
Return the declaration SQL for the given column. |
double |
MergedResult.getDouble(Column col,
Joins joins)
|
double |
Result.getDouble(Column col,
Joins joins)
Return the value stored in the given column. |
double |
AbstractResult.getDouble(Column col,
Joins joins)
|
String[] |
EmpressDictionary.getDropColumnSQL(Column column)
|
String[] |
InterbaseDictionary.getDropColumnSQL(Column column)
|
String[] |
SybaseDictionary.getDropColumnSQL(Column column)
|
String[] |
DBDictionary.getDropColumnSQL(Column column)
Return a series of SQL statements to drop the given column from its table. |
float |
MergedResult.getFloat(Column col,
Joins joins)
|
float |
Result.getFloat(Column col,
Joins joins)
Return the value stored in the given column. |
float |
AbstractResult.getFloat(Column col,
Joins joins)
|
Object |
DBDictionary.getGeneratedKey(Column col,
Connection conn)
Return the last generated value for the given column. |
Object |
OracleDictionary.getGeneratedKey(Column col,
Connection conn)
|
protected String |
DBDictionary.getGeneratedKeySequenceName(Column col)
Return the sequence name used by databases for the given autoassigned column. |
protected String |
OracleDictionary.getGeneratedKeyTriggerName(Column col)
Trigger name for simulating auto-assign values on the given column. |
int |
MergedResult.getInt(Column col,
Joins joins)
|
int |
Result.getInt(Column col,
Joins joins)
Return the value stored in the given column. |
int |
AbstractResult.getInt(Column col,
Joins joins)
|
protected Object |
DBDictionary.getKey(ResultSet rs,
Column col)
This method is to provide override for non-JDBC or JDBC-like implementation of getting key from the result set. |
Locale |
MergedResult.getLocale(Column col,
Joins joins)
|
Locale |
Result.getLocale(Column col,
Joins joins)
Return the value stored in the given column. |
Locale |
AbstractResult.getLocale(Column col,
Joins joins)
|
long |
MergedResult.getLong(Column col,
Joins joins)
|
long |
Result.getLong(Column col,
Joins joins)
Return the value stored in the given column. |
long |
AbstractResult.getLong(Column col,
Joins joins)
|
Number |
MergedResult.getNumber(Column col,
Joins joins)
|
Number |
Result.getNumber(Column col,
Joins joins)
Return the value stored in the given column. |
Number |
AbstractResult.getNumber(Column col,
Joins joins)
|
Object |
MergedResult.getObject(Column col,
Object arg,
Joins joins)
|
Object |
Result.getObject(Column col,
Object arg,
Joins joins)
Return the value stored in the given column. |
Object |
AbstractResult.getObject(Column col,
Object arg,
Joins joins)
|
protected String |
OracleDictionary.getOpenJPA3GeneratedKeySequenceName(Column col)
Returns a OpenJPA 3-compatible name for an auto-assign sequence. |
protected String |
OracleDictionary.getOpenJPA3GeneratedKeyTriggerName(Column col)
Returns a OpenJPA 3-compatible name for an auto-assign trigger. |
String |
DBDictionary.getPlaceholderValueString(Column col)
Return a SQL string to act as a placeholder for the given column. |
String |
HSQLDictionary.getPlaceholderValueString(Column col)
|
String |
FirebirdDictionary.getPlaceholderValueString(Column col)
|
Ref |
MergedResult.getRef(Column col,
Map map,
Joins joins)
|
Ref |
Result.getRef(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. |
Ref |
AbstractResult.getRef(Column col,
Map map,
Joins joins)
|
RelationId |
PrimaryRow.getRelationIdCallback(Column col)
Return the recorded callbacks for the given relation id column. |
OpenJPAStateManager |
PrimaryRow.getRelationIdSet(Column col)
Return the recorded value for the given relation id column. |
Object |
RowImpl.getSet(Column col)
Return the value set for update on the given column. |
short |
MergedResult.getShort(Column col,
Joins joins)
|
short |
Result.getShort(Column col,
Joins joins)
Return the value stored in the given column. |
short |
AbstractResult.getShort(Column col,
Joins joins)
|
Object |
MergedResult.getSQLObject(Column col,
Map map,
Joins joins)
|
Object |
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. |
Object |
AbstractResult.getSQLObject(Column col,
Map map,
Joins joins)
|
String |
MergedResult.getString(Column col,
Joins joins)
|
String |
Result.getString(Column col,
Joins joins)
Return the value stored in the given column. |
String |
AbstractResult.getString(Column col,
Joins joins)
|
Time |
MergedResult.getTime(Column col,
Calendar cal,
Joins joins)
|
Time |
Result.getTime(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. |
Time |
AbstractResult.getTime(Column col,
Calendar cal,
Joins joins)
|
Timestamp |
MergedResult.getTimestamp(Column col,
Calendar cal,
Joins joins)
|
Timestamp |
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. |
Timestamp |
AbstractResult.getTimestamp(Column col,
Calendar cal,
Joins joins)
|
String |
DBDictionary.getTypeName(Column col)
Return the preferred database type name for the given column's type from Types . |
String |
DBDictionary.getVersionColumn(Column column,
String tableAlias)
Return version column name |
Object |
RowImpl.getWhere(Column col)
Return the value set for where on the given column. |
void |
Select.groupBy(Column col)
Group by the given column. |
void |
LogicalUnion.UnionSelect.groupBy(Column col)
|
void |
SelectImpl.groupBy(Column col)
|
void |
Select.groupBy(Column[] cols)
Group by the given columns. |
void |
LogicalUnion.UnionSelect.groupBy(Column[] cols)
|
void |
SelectImpl.groupBy(Column[] cols)
|
void |
Select.groupBy(Column[] cols,
Joins joins)
Group by the given columns. |
void |
LogicalUnion.UnionSelect.groupBy(Column[] cols,
Joins joins)
|
void |
SelectImpl.groupBy(Column[] cols,
Joins joins)
|
void |
Select.groupBy(Column col,
Joins joins)
Group by the given column. |
void |
LogicalUnion.UnionSelect.groupBy(Column col,
Joins joins)
|
void |
SelectImpl.groupBy(Column col,
Joins joins)
|
void |
PostgresDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel)
|
void |
DBDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel)
|
void |
OracleDictionary.insertBlobForStreamingLoad(Row row,
Column col,
Object ob)
|
void |
DBDictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob)
|
void |
OracleDictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob)
|
protected RowImpl |
RowImpl.newInstance(Column[] cols,
int action)
Return a new row. |
protected RowImpl |
PrimaryRow.newInstance(Column[] cols,
int action)
|
protected RowImpl |
SecondaryRow.newInstance(Column[] cols,
int action)
|
int |
Select.orderBy(Column[] cols,
boolean asc,
boolean sel)
Order by the given columns. |
int |
LogicalUnion.UnionSelect.orderBy(Column[] cols,
boolean asc,
boolean select)
|
int |
SelectImpl.orderBy(Column[] cols,
boolean asc,
boolean sel)
|
int |
Select.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean sel)
Order by the given columns. |
int |
LogicalUnion.UnionSelect.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean select)
|
int |
SelectImpl.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean sel)
|
boolean |
Select.orderBy(Column col,
boolean asc,
boolean sel)
Order by the given column. |
boolean |
LogicalUnion.UnionSelect.orderBy(Column col,
boolean asc,
boolean select)
|
boolean |
SelectImpl.orderBy(Column col,
boolean asc,
boolean sel)
|
boolean |
Select.orderBy(Column col,
boolean asc,
Joins joins,
boolean sel)
Order by the given column. |
boolean |
LogicalUnion.UnionSelect.orderBy(Column col,
boolean asc,
Joins joins,
boolean select)
|
boolean |
SelectImpl.orderBy(Column col,
boolean asc,
Joins joins,
boolean sel)
|
protected void |
LogicalUnion.UnionSelect.recordOrderColumns(Column[] cols,
boolean asc)
Record that we're ordering by the given columns. |
boolean |
Select.select(Column col)
Select the given column. |
boolean |
LogicalUnion.UnionSelect.select(Column col)
|
boolean |
SelectImpl.select(Column col)
|
int |
Select.select(Column[] cols)
Select the given columns. |
int |
LogicalUnion.UnionSelect.select(Column[] cols)
|
int |
SelectImpl.select(Column[] cols)
|
int |
Select.select(Column[] cols,
Joins joins)
Select the given columns. |
int |
LogicalUnion.UnionSelect.select(Column[] cols,
Joins joins)
|
int |
SelectImpl.select(Column[] cols,
Joins joins)
|
boolean |
Select.select(Column col,
Joins joins)
Select the given column. |
boolean |
LogicalUnion.UnionSelect.select(Column col,
Joins joins)
|
boolean |
SelectImpl.select(Column col,
Joins joins)
|
boolean |
Select.selectIdentifier(Column col)
Select the given column as one that can be used to get a count of distinct matches. |
boolean |
LogicalUnion.UnionSelect.selectIdentifier(Column col)
|
boolean |
SelectImpl.selectIdentifier(Column col)
|
int |
Select.selectIdentifier(Column[] cols)
Select the given columns as ones that can be used to get a count of distinct matches. |
int |
LogicalUnion.UnionSelect.selectIdentifier(Column[] cols)
|
int |
SelectImpl.selectIdentifier(Column[] cols)
|
int |
Select.selectIdentifier(Column[] cols,
Joins joins)
Select the given columns as ones that can be used to get a count of distinct matches. |
int |
LogicalUnion.UnionSelect.selectIdentifier(Column[] cols,
Joins joins)
|
int |
SelectImpl.selectIdentifier(Column[] cols,
Joins joins)
|
boolean |
Select.selectIdentifier(Column col,
Joins joins)
Select the given column as one that can be used to get a count of distinct matches. |
boolean |
LogicalUnion.UnionSelect.selectIdentifier(Column col,
Joins joins)
|
boolean |
SelectImpl.selectIdentifier(Column col,
Joins joins)
|
void |
RowImpl.setArray(Column col,
Array val)
|
void |
Row.setArray(Column col,
Array val)
Set the value of the given column in this row. |
void |
DBDictionary.setArray(PreparedStatement stmnt,
int idx,
Array val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setAsciiStream(Column col,
InputStream val,
int length)
|
void |
Row.setAsciiStream(Column col,
InputStream val,
int length)
Set the value of the given column in this row. |
void |
DBDictionary.setAsciiStream(PreparedStatement stmnt,
int idx,
InputStream val,
int length,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setBigDecimal(Column col,
BigDecimal val)
|
void |
Row.setBigDecimal(Column col,
BigDecimal val)
Set the value of the given column in this row. |
void |
DBDictionary.setBigDecimal(PreparedStatement stmnt,
int idx,
BigDecimal val,
Column col)
Set the given value as a parameter to the statement. |
void |
HSQLDictionary.setBigDecimal(PreparedStatement stmnt,
int idx,
BigDecimal val,
Column col)
|
void |
RowImpl.setBigInteger(Column col,
BigInteger val)
|
void |
Row.setBigInteger(Column col,
BigInteger val)
Set the value of the given column in this row. |
void |
SybaseDictionary.setBigInteger(PreparedStatement stmnt,
int idx,
BigInteger val,
Column col)
|
void |
DBDictionary.setBigInteger(PreparedStatement stmnt,
int idx,
BigInteger val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setBinaryStream(Column col,
InputStream val,
int length)
|
void |
Row.setBinaryStream(Column col,
InputStream val,
int length)
Set the value of the given column in this row. |
void |
DBDictionary.setBinaryStream(PreparedStatement stmnt,
int idx,
InputStream val,
int length,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setBlob(Column col,
Blob val)
|
void |
Row.setBlob(Column col,
Blob val)
Set the value of the given column in this row. |
void |
DBDictionary.setBlob(PreparedStatement stmnt,
int idx,
Blob val,
Column col)
Set the given value as a parameter to the statement. |
void |
DBDictionary.setBlobObject(PreparedStatement stmnt,
int idx,
Object val,
Column col,
JDBCStore store)
Set the given value as a parameter to the statement. |
void |
RowImpl.setBoolean(Column col,
boolean val)
|
void |
Row.setBoolean(Column col,
boolean val)
Set the value of the given column in this row. |
void |
InformixDictionary.setBoolean(PreparedStatement stmnt,
int idx,
boolean val,
Column col)
|
void |
PostgresDictionary.setBoolean(PreparedStatement stmnt,
int idx,
boolean val,
Column col)
|
void |
DBDictionary.setBoolean(PreparedStatement stmnt,
int idx,
boolean val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setByte(Column col,
byte val)
|
void |
Row.setByte(Column col,
byte val)
Set the value of the given column in this row. |
void |
DBDictionary.setByte(PreparedStatement stmnt,
int idx,
byte val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setBytes(Column col,
byte[] val)
|
void |
Row.setBytes(Column col,
byte[] val)
Set the value of the given column in this row. |
void |
DBDictionary.setBytes(PreparedStatement stmnt,
int idx,
byte[] val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setCalendar(Column col,
Calendar val)
|
void |
Row.setCalendar(Column col,
Calendar val)
Set the value of the given column in this row. |
void |
DBDictionary.setCalendar(PreparedStatement stmnt,
int idx,
Calendar val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setChar(Column col,
char val)
|
void |
Row.setChar(Column col,
char val)
Set the value of the given column in this row. |
void |
DBDictionary.setChar(PreparedStatement stmnt,
int idx,
char val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setCharacterStream(Column col,
Reader val,
int length)
|
void |
Row.setCharacterStream(Column col,
Reader val,
int length)
Set the value of the given column in this row. |
void |
DBDictionary.setCharacterStream(PreparedStatement stmnt,
int idx,
Reader val,
int length,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setClob(Column col,
Clob val)
|
void |
Row.setClob(Column col,
Clob val)
Set the value of the given column in this row. |
void |
DBDictionary.setClob(PreparedStatement stmnt,
int idx,
Clob val,
Column col)
Set the given value as a parameter to the statement. |
void |
DBDictionary.setClobString(PreparedStatement stmnt,
int idx,
String val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setDate(Column col,
Date val)
|
void |
Row.setDate(Column col,
Date val)
Set the value of the given column in this row. |
void |
RowImpl.setDate(Column col,
Date val,
Calendar cal)
|
void |
Row.setDate(Column col,
Date val,
Calendar cal)
Set the value of the given column in this row. |
void |
DBDictionary.setDate(PreparedStatement stmnt,
int idx,
Date val,
Calendar cal,
Column col)
Set the given value as a parameter to the statement. |
void |
DBDictionary.setDate(PreparedStatement stmnt,
int idx,
Date val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setDouble(Column col,
double val)
|
void |
Row.setDouble(Column col,
double val)
Set the value of the given column in this row. |
void |
EmpressDictionary.setDouble(PreparedStatement stmnt,
int idx,
double val,
Column col)
|
void |
DBDictionary.setDouble(PreparedStatement stmnt,
int idx,
double val,
Column col)
Set the given value as a parameter to the statement. |
void |
HSQLDictionary.setDouble(PreparedStatement stmnt,
int idx,
double val,
Column col)
|
void |
RowImpl.setFloat(Column col,
float val)
|
void |
Row.setFloat(Column col,
float val)
Set the value of the given column in this row. |
void |
EmpressDictionary.setFloat(PreparedStatement stmnt,
int idx,
float val,
Column col)
|
void |
DBDictionary.setFloat(PreparedStatement stmnt,
int idx,
float val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setInt(Column col,
int val)
|
void |
Row.setInt(Column col,
int val)
Set the value of the given column in this row. |
void |
DBDictionary.setInt(PreparedStatement stmnt,
int idx,
int val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setLocale(Column col,
Locale val)
|
void |
Row.setLocale(Column col,
Locale val)
Set the value of the given column in this row. |
void |
DBDictionary.setLocale(PreparedStatement stmnt,
int idx,
Locale val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setLong(Column col,
long val)
|
void |
Row.setLong(Column col,
long val)
Set the value of the given column in this row. |
void |
AccessDictionary.setLong(PreparedStatement stmnt,
int idx,
long val,
Column col)
|
void |
DBDictionary.setLong(PreparedStatement stmnt,
int idx,
long val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setNull(Column col)
|
void |
Row.setNull(Column col)
Set the value of the given column in this row. |
void |
RowImpl.setNull(Column col,
boolean overrideDefault)
|
void |
Row.setNull(Column col,
boolean overrideDefault)
Set the value of the given column in this row. |
void |
AbstractSQLServerDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col)
|
void |
PostgresDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col)
|
void |
DBDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col)
Set the given value as a parameters to the statement. |
void |
OracleDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col)
|
void |
FoxProDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col)
|
void |
RowImpl.setNumber(Column col,
Number val)
|
void |
Row.setNumber(Column col,
Number val)
Set the value of the given column in this row. |
void |
DBDictionary.setNumber(PreparedStatement stmnt,
int idx,
Number num,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setObject(Column col,
Object val)
|
void |
Row.setObject(Column col,
Object val)
Set the value of the given column in this row. |
protected void |
RowImpl.setObject(Column col,
Object val,
int metaType,
boolean overrideDefault)
All set column methods delegate to this one. |
protected void |
PrimaryRow.setObject(Column col,
Object val,
int metaType,
boolean overrideDefault)
|
void |
DBDictionary.setObject(PreparedStatement stmnt,
int idx,
Object val,
int colType,
Column col)
Set the given value as a parameters to the statement. |
void |
RowImpl.setRaw(Column col,
String val)
|
void |
Row.setRaw(Column col,
String value)
Set a DB understood value for the given column. |
void |
DBDictionary.setRef(PreparedStatement stmnt,
int idx,
Ref val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel)
|
void |
PrimaryRow.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel)
|
void |
SecondaryRow.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel)
|
void |
Row.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. |
void |
RowImpl.setShort(Column col,
short val)
|
void |
Row.setShort(Column col,
short val)
Set the value of the given column in this row. |
void |
DBDictionary.setShort(PreparedStatement stmnt,
int idx,
short val,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setString(Column col,
String val)
|
void |
Row.setString(Column col,
String val)
Set the value of the given column in this row. |
void |
DBDictionary.setString(PreparedStatement stmnt,
int idx,
String val,
Column col)
Set the given value as a parameter to the statement. |
void |
OracleDictionary.setString(PreparedStatement stmnt,
int idx,
String val,
Column col)
|
void |
RowImpl.setTime(Column col,
Time val,
Calendar cal)
|
void |
Row.setTime(Column col,
Time val,
Calendar cal)
Set the value of the given column in this row. |
void |
DBDictionary.setTime(PreparedStatement stmnt,
int idx,
Time val,
Calendar cal,
Column col)
Set the given value as a parameter to the statement. |
void |
RowImpl.setTimestamp(Column col,
Timestamp val,
Calendar cal)
|
void |
Row.setTimestamp(Column col,
Timestamp val,
Calendar cal)
Set the value of the given column in this row. |
void |
DBDictionary.setTimestamp(PreparedStatement stmnt,
int idx,
Timestamp val,
Calendar cal,
Column col)
Set the given value as a parameter to the statement. |
void |
DBDictionary.setTyped(PreparedStatement stmnt,
int idx,
Object val,
Column col,
int type,
JDBCStore store)
Set a column value into a prepared statement. |
void |
DBDictionary.setUnknown(PreparedStatement stmnt,
int idx,
Object val,
Column col)
Set a completely unknown parameter into a prepared statement. |
boolean |
DBDictionary.validateBatchProcess(RowImpl row,
Column[] autoAssign,
OpenJPAStateManager sm,
ClassMapping cmd)
Validate the batch process. |
boolean |
DBDictionary.validateDBSpecificBatchProcess(boolean disableBatch,
RowImpl row,
Column[] autoAssign,
OpenJPAStateManager sm,
ClassMapping cmd)
Allow each Dictionary to validate its own batch process. |
void |
RowImpl.whereArray(Column col,
Array val)
|
void |
Row.whereArray(Column col,
Array val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereAsciiStream(Column col,
InputStream val,
int length)
|
void |
Row.whereAsciiStream(Column col,
InputStream val,
int length)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereBigDecimal(Column col,
BigDecimal val)
|
void |
Row.whereBigDecimal(Column col,
BigDecimal val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereBigInteger(Column col,
BigInteger val)
|
void |
Row.whereBigInteger(Column col,
BigInteger val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereBinaryStream(Column col,
InputStream val,
int length)
|
void |
Row.whereBinaryStream(Column col,
InputStream val,
int length)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereBlob(Column col,
Blob val)
|
void |
Row.whereBlob(Column col,
Blob val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereBoolean(Column col,
boolean val)
|
void |
Row.whereBoolean(Column col,
boolean val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereByte(Column col,
byte val)
|
void |
Row.whereByte(Column col,
byte val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereBytes(Column col,
byte[] val)
|
void |
Row.whereBytes(Column col,
byte[] val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereCalendar(Column col,
Calendar val)
|
void |
Row.whereCalendar(Column col,
Calendar val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereChar(Column col,
char val)
|
void |
Row.whereChar(Column col,
char val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereCharacterStream(Column col,
Reader val,
int length)
|
void |
Row.whereCharacterStream(Column col,
Reader val,
int length)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereClob(Column col,
Clob val)
|
void |
Row.whereClob(Column col,
Clob val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereDate(Column col,
Date val)
|
void |
Row.whereDate(Column col,
Date val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereDate(Column col,
Date val,
Calendar cal)
|
void |
Row.whereDate(Column col,
Date val,
Calendar cal)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereDouble(Column col,
double val)
|
void |
Row.whereDouble(Column col,
double val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereFloat(Column col,
float val)
|
void |
Row.whereFloat(Column col,
float val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereInt(Column col,
int val)
|
void |
Row.whereInt(Column col,
int val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereLocale(Column col,
Locale val)
|
void |
Row.whereLocale(Column col,
Locale val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereLong(Column col,
long val)
|
void |
Row.whereLong(Column col,
long val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereNull(Column col)
|
void |
Row.whereNull(Column col)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereNumber(Column col,
Number val)
|
void |
Row.whereNumber(Column col,
Number val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereObject(Column col,
Object val)
|
void |
Row.whereObject(Column col,
Object val)
Set an equality condition on the value of the given column in this row. |
protected void |
RowImpl.whereObject(Column col,
Object val,
int metaType)
All where column methods delegate to this one. |
int |
Select.wherePrimaryKey(ClassMapping mapping,
Column[] toCols,
Column[] fromCols,
Object oid,
JDBCStore store,
org.apache.openjpa.jdbc.sql.PathJoins pj,
SQLBuffer buf,
List parmList)
Add where conditions setting the mapping's primary key to the given oid values. |
int |
Select.wherePrimaryKey(ClassMapping mapping,
Column[] toCols,
Column[] fromCols,
Object oid,
JDBCStore store,
org.apache.openjpa.jdbc.sql.PathJoins pj,
SQLBuffer buf,
List parmList)
Add where conditions setting the mapping's primary key to the given oid values. |
int |
LogicalUnion.UnionSelect.wherePrimaryKey(ClassMapping mapping,
Column[] toCols,
Column[] fromCols,
Object oid,
JDBCStore store,
org.apache.openjpa.jdbc.sql.PathJoins pj,
SQLBuffer buf,
List parmList)
|
int |
LogicalUnion.UnionSelect.wherePrimaryKey(ClassMapping mapping,
Column[] toCols,
Column[] fromCols,
Object oid,
JDBCStore store,
org.apache.openjpa.jdbc.sql.PathJoins pj,
SQLBuffer buf,
List parmList)
|
int |
SelectImpl.wherePrimaryKey(ClassMapping mapping,
Column[] toCols,
Column[] fromCols,
Object oid,
JDBCStore store,
org.apache.openjpa.jdbc.sql.PathJoins pj,
SQLBuffer buf,
List parmList)
|
int |
SelectImpl.wherePrimaryKey(ClassMapping mapping,
Column[] toCols,
Column[] fromCols,
Object oid,
JDBCStore store,
org.apache.openjpa.jdbc.sql.PathJoins pj,
SQLBuffer buf,
List parmList)
|
void |
RowImpl.whereRaw(Column col,
String val)
|
void |
Row.whereRaw(Column col,
String value)
Set a DB understood where condition for the given column. |
void |
RowImpl.whereShort(Column col,
short val)
|
void |
Row.whereShort(Column col,
short val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereString(Column col,
String val)
|
void |
Row.whereString(Column col,
String val)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereTime(Column col,
Time val,
Calendar cal)
|
void |
Row.whereTime(Column col,
Time val,
Calendar cal)
Set an equality condition on the value of the given column in this row. |
void |
RowImpl.whereTimestamp(Column col,
Timestamp val,
Calendar cal)
|
void |
Row.whereTimestamp(Column col,
Timestamp val,
Calendar cal)
Set an equality condition on the value of the given column in this row. |
Constructors in org.apache.openjpa.jdbc.sql with parameters of type Column | |
---|---|
PrimaryRow(Column[] cols,
int action,
OpenJPAStateManager owner)
|
|
RowImpl(Column[] cols,
int action)
|
|
SecondaryRow(Column[] cols,
int action)
|
Uses of Column in org.apache.openjpa.persistence.jdbc |
---|
Methods in org.apache.openjpa.persistence.jdbc with parameters of type Column | |
---|---|
void |
PersistenceMappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols)
|
void |
PersistenceMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
String name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
|
void |
PersistenceMappingDefaults.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols)
|
Method parameters in org.apache.openjpa.persistence.jdbc with type arguments of type Column | |
---|---|
protected void |
AnnotationPersistenceMappingParser.setColumns(FieldMapping fm,
MappingInfo info,
List<Column> cols,
int unique)
Set the given columns as the columns for fm . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |