|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.access.util.ResultDescriptor
public class ResultDescriptor
Contains information about the ResultSet used to process fetched rows. ResultDescriptor is initialized by calling various "add*" methods, after that it must be indexed by calling "index".
Field Summary | |
---|---|
protected ExtendedType[] |
converters
Deprecated. |
protected java.util.List |
dbAttributes
Deprecated. |
protected int[] |
idIndexes
Deprecated. |
protected boolean |
indexedIds
Deprecated. |
protected java.util.List |
javaTypes
Deprecated. |
protected int[] |
jdbcTypes
Deprecated. |
protected java.lang.String[] |
names
Deprecated. |
protected int[] |
outParamIndexes
Deprecated. |
protected ObjEntity |
rootEntity
Deprecated. |
protected ExtendedTypeMap |
typesMapping
Deprecated. |
Constructor Summary | |
---|---|
ResultDescriptor(ExtendedTypeMap typesMapping)
Deprecated. |
|
ResultDescriptor(ExtendedTypeMap typesMapping,
ObjEntity rootEntity)
Deprecated. |
Method Summary | |
---|---|
void |
addColumns(java.util.Collection dbAttributes)
Deprecated. |
void |
addDbAttribute(DbAttribute attr)
Deprecated. |
void |
addJavaType(java.lang.String javaType)
Deprecated. |
void |
addJavaTypes(java.util.Collection javaTypes)
Deprecated. |
static ResultDescriptor |
createDescriptor(ColumnDescriptor[] columns,
ExtendedTypeMap typeConverters)
Deprecated. Creates and returns a ResultDescriptor for an array of ColumnDescriptors. |
static ResultDescriptor |
createDescriptor(Procedure procedure,
ExtendedTypeMap typeConverters)
Deprecated. Creates and returns a ResultDescriptor for the stored procedure parameters. |
static ResultDescriptor |
createDescriptor(java.sql.ResultSet resultSet,
ExtendedTypeMap typeConverters)
Deprecated. Creates and returns a ResultDescritor based on ResultSet metadata. |
ExtendedType[] |
getConverters()
Deprecated. |
int[] |
getIdIndexes(DbEntity entity)
Deprecated. |
int[] |
getJdbcTypes()
Deprecated. |
java.lang.String[] |
getNames()
Deprecated. |
int[] |
getOutParamIndexes()
Deprecated. |
int |
getResultWidth()
Deprecated. Returns a count of columns in the result. |
void |
index()
Deprecated. |
protected void |
indexIds(DbEntity entity)
Deprecated. Reindexes primary key based on DbEntity. |
protected void |
initConvertersFromJavaTypes()
Deprecated. |
protected void |
initConvertersFromMapping()
Deprecated. |
protected void |
initDefaultConverters()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] names
protected int[] jdbcTypes
protected ExtendedType[] converters
protected int[] idIndexes
protected int[] outParamIndexes
protected java.util.List dbAttributes
protected java.util.List javaTypes
protected ExtendedTypeMap typesMapping
protected ObjEntity rootEntity
protected boolean indexedIds
Constructor Detail |
---|
public ResultDescriptor(ExtendedTypeMap typesMapping)
public ResultDescriptor(ExtendedTypeMap typesMapping, ObjEntity rootEntity)
Method Detail |
---|
public static ResultDescriptor createDescriptor(java.sql.ResultSet resultSet, ExtendedTypeMap typeConverters)
public static ResultDescriptor createDescriptor(ColumnDescriptor[] columns, ExtendedTypeMap typeConverters)
public static ResultDescriptor createDescriptor(Procedure procedure, ExtendedTypeMap typeConverters)
public void addColumns(java.util.Collection dbAttributes)
public void addDbAttribute(DbAttribute attr)
public void addJavaTypes(java.util.Collection javaTypes)
public void addJavaType(java.lang.String javaType)
protected void indexIds(DbEntity entity)
public void index()
protected void initConvertersFromJavaTypes()
protected void initDefaultConverters()
protected void initConvertersFromMapping()
public ExtendedType[] getConverters()
public int[] getIdIndexes(DbEntity entity)
public int[] getJdbcTypes()
public java.lang.String[] getNames()
public int getResultWidth()
public int[] getOutParamIndexes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |