Uses of Class
org.apache.cayenne.map.DbAttribute
-
-
Uses of DbAttribute in org.apache.cayenne.access.jdbc
Fields in org.apache.cayenne.access.jdbc declared as DbAttribute Modifier and Type Field Description protected DbAttributeColumnDescriptor. attributeMethods in org.apache.cayenne.access.jdbc that return DbAttribute Modifier and Type Method Description DbAttributeColumnDescriptor. getAttribute()Returns a DbAttribute for this column.Methods in org.apache.cayenne.access.jdbc with parameters of type DbAttribute Modifier and Type Method Description voidColumnDescriptor. setAttribute(DbAttribute attribute)Constructors in org.apache.cayenne.access.jdbc with parameters of type DbAttribute Constructor Description ColumnDescriptor(DbAttribute attribute, String tableAlias)Creates a ColumnDescriptor from Cayenne DbAttribute.ColumnDescriptor(ObjAttribute objAttribute, DbAttribute dbAttribute, String columnAlias) -
Uses of DbAttribute in org.apache.cayenne.access.translator
Methods in org.apache.cayenne.access.translator that return DbAttribute Modifier and Type Method Description DbAttributeDbAttributeBinding. getAttribute()Constructors in org.apache.cayenne.access.translator with parameters of type DbAttribute Constructor Description DbAttributeBinding(DbAttribute attribute) -
Uses of DbAttribute in org.apache.cayenne.access.translator.batch
Methods in org.apache.cayenne.access.translator.batch with parameters of type DbAttribute Modifier and Type Method Description protected voidDefaultBatchTranslator. appendDbAttribute(StringBuilder buf, DbAttribute dbAttribute)Appends the name of the column to the query buffer.protected booleanInsertBatchTranslator. includeInBatch(DbAttribute attribute)Returns true if an attribute should be included in the batch. -
Uses of DbAttribute in org.apache.cayenne.access.translator.ejbql
Methods in org.apache.cayenne.access.translator.ejbql with parameters of type DbAttribute Modifier and Type Method Description voidEJBQLSelectColumnsTranslator. appendColumn(String javaType, String alias, DbAttribute dbAttribute, String columnAlias)protected voidEJBQLDbPathTranslator. processTerminatingAttribute(DbAttribute attribute) -
Uses of DbAttribute in org.apache.cayenne.access.translator.select
Fields in org.apache.cayenne.access.translator.select with type parameters of type DbAttribute Modifier and Type Field Description protected Map<String,DbAttribute>DataObjectMatchTranslator. attributesMethods in org.apache.cayenne.access.translator.select that return DbAttribute Modifier and Type Method Description DbAttributeDataObjectMatchTranslator. getAttribute(String key)protected DbAttributeQueryAssemblerHelper. paramsDbType(Expression e)Returns database type of expression parameters or null if it can not be determined.Methods in org.apache.cayenne.access.translator.select with parameters of type DbAttribute Modifier and Type Method Description voidQueryAssembler. addToParamList(DbAttribute dbAttr, Object anObject)RegistersanObjectas a PreparedStatement parameter.protected voidQualifierTranslator. appendLiteral(Object val, DbAttribute attr, Expression parentExpression)protected voidQueryAssemblerHelper. appendLiteral(Object val, DbAttribute attr, Expression parentExpression)Appends SQL code to the query buffer to handlevalas a parameter to the PreparedStatement being built.protected voidQueryAssemblerHelper. appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression)Appends SQL code to the query buffer to handlevalas a parameter to the PreparedStatement being built.protected voidQueryAssemblerHelper. processColumn(DbAttribute dbAttr)protected voidTrimmingQualifierTranslator. processColumn(DbAttribute dbAttr)Adds special handling of CHAR columns.protected voidQueryAssemblerHelper. processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp)protected voidTrimmingQualifierTranslator. processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp)Adds special handling of CHAR columns. -
Uses of DbAttribute in org.apache.cayenne.configuration
Methods in org.apache.cayenne.configuration with parameters of type DbAttribute Modifier and Type Method Description TBaseConfigurationNodeVisitor. visitDbAttribute(DbAttribute attribute)TConfigurationNodeVisitor. visitDbAttribute(DbAttribute attribute)VoidEmptyConfigurationNodeVisitor. visitDbAttribute(DbAttribute attribute) -
Uses of DbAttribute in org.apache.cayenne.configuration.xml
Methods in org.apache.cayenne.configuration.xml that return DbAttribute Modifier and Type Method Description DbAttributeDbEntityHandler. getLastAttribute() -
Uses of DbAttribute in org.apache.cayenne.dba
Methods in org.apache.cayenne.dba that return DbAttribute Modifier and Type Method Description DbAttributeAutoAdapter. buildAttribute(String name, String typeName, int type, int size, int precision, boolean allowNulls)DbAttributeDbAdapter. buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)Creates and returns a DbAttribute based on supplied parameters (usually obtained from database meta data).DbAttributeJdbcAdapter. buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)Methods in org.apache.cayenne.dba with parameters of type DbAttribute Modifier and Type Method Description voidAutoAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)voidDbAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)Append the column type part of a "create table" to the givenStringBuffervoidJdbcAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)Appends SQL for column creation to CREATE TABLE buffer.ObjectJdbcPkGenerator. generatePk(DataNode node, DbAttribute pk)Generates a unique and non-repeating primary key for specified dbEntity.ObjectPkGenerator. generatePk(DataNode dataNode, DbAttribute pk)Generates a unique and non-repeating primary key for specified PK attribute.static StringJdbcAdapter. getType(DbAdapter adapter, DbAttribute column)StringDefaultQuotingStrategy. quotedName(DbAttribute attribute)StringQuotingStrategy. quotedName(DbAttribute attribute)static StringJdbcAdapter. sizeAndPrecision(DbAdapter adapter, DbAttribute column)Method parameters in org.apache.cayenne.dba with type arguments of type DbAttribute Modifier and Type Method Description StringAutoAdapter. createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)StringDbAdapter. createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)Returns a DDL string to create a unique constraint over a set of columns, or null if the unique constraints are not supported.StringJdbcAdapter. createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)Returns a DDL string to create a unique constraint over a set of columns. -
Uses of DbAttribute in org.apache.cayenne.dba.db2
Methods in org.apache.cayenne.dba.db2 with parameters of type DbAttribute Modifier and Type Method Description protected voidDB2QualifierTranslator. appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression)voidDB2Adapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)protected voidDB2QualifierTranslator. processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp) -
Uses of DbAttribute in org.apache.cayenne.dba.derby
Methods in org.apache.cayenne.dba.derby with parameters of type DbAttribute Modifier and Type Method Description voidDerbyAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)Appends SQL for column creation to CREATE TABLE buffer.protected voidDerbyQualifierTranslator. processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp) -
Uses of DbAttribute in org.apache.cayenne.dba.firebird
Methods in org.apache.cayenne.dba.firebird with parameters of type DbAttribute Modifier and Type Method Description voidFirebirdAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column) -
Uses of DbAttribute in org.apache.cayenne.dba.h2
Methods in org.apache.cayenne.dba.h2 with parameters of type DbAttribute Modifier and Type Method Description voidH2Adapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column) -
Uses of DbAttribute in org.apache.cayenne.dba.hsqldb
Methods in org.apache.cayenne.dba.hsqldb with parameters of type DbAttribute Modifier and Type Method Description voidHSQLDBAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)Method parameters in org.apache.cayenne.dba.hsqldb with type arguments of type DbAttribute Modifier and Type Method Description StringHSQLDBAdapter. createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)Returns a DDL string to create a unique constraint over a set of columns. -
Uses of DbAttribute in org.apache.cayenne.dba.ingres
Methods in org.apache.cayenne.dba.ingres with parameters of type DbAttribute Modifier and Type Method Description voidIngresAdapter. createTableAppendColumn(StringBuffer buf, DbAttribute at) -
Uses of DbAttribute in org.apache.cayenne.dba.mysql
Methods in org.apache.cayenne.dba.mysql that return DbAttribute Modifier and Type Method Description DbAttributeMySQLAdapter. buildAttribute(String name, String typeName, int type, int size, int precision, boolean allowNulls)Methods in org.apache.cayenne.dba.mysql with parameters of type DbAttribute Modifier and Type Method Description voidMySQLAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)Appends AUTO_INCREMENT clause to the column definition for generated columns. -
Uses of DbAttribute in org.apache.cayenne.dba.openbase
Methods in org.apache.cayenne.dba.openbase that return DbAttribute Modifier and Type Method Description DbAttributeOpenBaseAdapter. buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)Methods in org.apache.cayenne.dba.openbase with parameters of type DbAttribute Modifier and Type Method Description protected voidOpenBaseQualifierTranslator. appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression)ObjectOpenBasePkGenerator. generatePk(DataNode node, DbAttribute pk)Returns a non-repeating primary key for a given PK attribute. -
Uses of DbAttribute in org.apache.cayenne.dba.oracle
Methods in org.apache.cayenne.dba.oracle that return DbAttribute Modifier and Type Method Description DbAttributeOracleAdapter. buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)Fixes some reverse engineering problems. -
Uses of DbAttribute in org.apache.cayenne.dba.postgres
Methods in org.apache.cayenne.dba.postgres that return DbAttribute Modifier and Type Method Description DbAttributePostgresAdapter. buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls) -
Uses of DbAttribute in org.apache.cayenne.dba.sqlite
Methods in org.apache.cayenne.dba.sqlite with parameters of type DbAttribute Modifier and Type Method Description voidSQLiteAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)Appends AUTOINCREMENT clause to the column definition for generated columns.Method parameters in org.apache.cayenne.dba.sqlite with type arguments of type DbAttribute Modifier and Type Method Description StringSQLiteAdapter. createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns) -
Uses of DbAttribute in org.apache.cayenne.dba.sqlserver
Methods in org.apache.cayenne.dba.sqlserver with parameters of type DbAttribute Modifier and Type Method Description ObjectSQLServerPkGenerator. generatePk(DataNode node, DbAttribute pk) -
Uses of DbAttribute in org.apache.cayenne.dba.sybase
Methods in org.apache.cayenne.dba.sybase with parameters of type DbAttribute Modifier and Type Method Description voidSybaseAdapter. createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)Overrides super implementation to correctly set up identity columns. -
Uses of DbAttribute in org.apache.cayenne.log
Methods in org.apache.cayenne.log with parameters of type DbAttribute Modifier and Type Method Description voidJdbcEventLogger. logGeneratedKey(DbAttribute attribute, Object value)voidNoopJdbcEventLogger. logGeneratedKey(DbAttribute attribute, Object value)voidSlf4jJdbcEventLogger. logGeneratedKey(DbAttribute attribute, Object value) -
Uses of DbAttribute in org.apache.cayenne.map
Fields in org.apache.cayenne.map with type parameters of type DbAttribute Modifier and Type Field Description protected Collection<DbAttribute>DbEntity. generatedAttributesprotected Collection<DbAttribute>DbEntity. primaryKeyMethods in org.apache.cayenne.map that return DbAttribute Modifier and Type Method Description DbAttributeDbEntity. getAttribute(String attributeName)DbAttributeObjAttribute. getDbAttribute()Returns a DbAttribute mapped by this ObjAttribute.DbAttributeDbJoin. getSource()Returns DbAttribute on on the left side of the join.DbAttributeDbJoin. getTarget()Methods in org.apache.cayenne.map that return types with arguments of type DbAttribute Modifier and Type Method Description Collection<DbAttribute>DbEntity. getAttributes()Returns a Collection of all attributes that either belong to this DbEntity or inherited.Collection<DbAttribute>DbEntity. getGeneratedAttributes()Returns an unmodifiable collection of DbAttributes that are generated by the database.Collection<DbAttribute>DbEntity. getPrimaryKeys()Returns an unmodifiable collection of DbAttributes representing the primary key of the table described by this DbEntity.Collection<DbAttribute>DbRelationship. getSourceAttributes()Returns a Collection of source attributes.Collection<DbAttribute>DbRelationship. getTargetAttributes()Returns a Collection of target attributes.PathComponent<DbAttribute,DbRelationship>DbEntity. lastPathComponent(Expression path, Map aliasMap)Iterable<PathComponent<DbAttribute,DbRelationship>>DbEntity. resolvePath(Expression pathExp, Map aliasMap)Returns an Iterable instance over expression path components based on this entity.Methods in org.apache.cayenne.map with parameters of type DbAttribute Modifier and Type Method Description voidDbEntity. addAttribute(DbAttribute attr)Adds a new attribute to this entity.ObjAttributeObjEntity. getAttributeForDbAttribute(DbAttribute dbAttribute)Returns ObjAttribute of this entity that maps todbAttributeparameter. -
Uses of DbAttribute in org.apache.cayenne.query
Fields in org.apache.cayenne.query with type parameters of type DbAttribute Modifier and Type Field Description protected List<DbAttribute>BatchQuery. dbAttributesMethods in org.apache.cayenne.query that return types with arguments of type DbAttribute Modifier and Type Method Description List<DbAttribute>BatchQuery. getDbAttributes()Returns a list of DbAttributes describing batch parameters.List<DbAttribute>UpdateBatchQuery. getDbAttributes()List<DbAttribute>UpdateBatchQuery. getQualifierAttributes()List<DbAttribute>UpdateBatchQuery. getUpdatedAttributes()Methods in org.apache.cayenne.query with parameters of type DbAttribute Modifier and Type Method Description protected ObjectBatchQueryRow. getValue(Map<String,Object> valueMap, DbAttribute attribute)Used by subclasses to resolve deferred values on demand.booleanDeleteBatchQuery. isNull(DbAttribute attribute)Returns true if a given attribute always has a null value in the batch.booleanUpdateBatchQuery. isNull(DbAttribute attribute)Returns true if a given attribute always has a null value in the batch.Constructor parameters in org.apache.cayenne.query with type arguments of type DbAttribute Constructor Description BatchQuery(DbEntity dbEntity, List<DbAttribute> dbAttributes, int batchCapacity)DeleteBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, Collection<String> nullQualifierNames, int batchCapacity)Creates new DeleteBatchQuery.UpdateBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, List<DbAttribute> updatedAttributes, Collection<String> nullQualifierNames, int batchCapacity)Creates new UpdateBatchQuery.
-