Package | Description |
---|---|
com.j256.ormlite.dao |
Database Access Object classes.
|
com.j256.ormlite.field |
Object field information.
|
com.j256.ormlite.stmt |
SQL statement generation and processing.
|
Modifier and Type | Method and Description |
---|---|
T |
RawRowObjectMapper.mapRow(String[] columnNames,
DataType[] dataTypes,
Object[] resultColumns)
Used to convert a raw results row to an object.
|
<UO> GenericRawResults<UO> |
BaseDaoImpl.queryRaw(String query,
DataType[] columnTypes,
RawRowObjectMapper<UO> mapper,
String... arguments) |
<UO> GenericRawResults<UO> |
Dao.queryRaw(String query,
DataType[] columnTypes,
RawRowObjectMapper<UO> mapper,
String... arguments)
Similar to the
Dao.queryRaw(String, RawRowMapper, String...) but uses the column-types array to present an
array of object results to the mapper instead of strings. |
<UO> GenericRawResults<UO> |
RuntimeExceptionDao.queryRaw(String query,
DataType[] columnTypes,
RawRowObjectMapper<UO> mapper,
String... arguments) |
GenericRawResults<Object[]> |
BaseDaoImpl.queryRaw(String query,
DataType[] columnTypes,
String... arguments) |
GenericRawResults<Object[]> |
Dao.queryRaw(String query,
DataType[] columnTypes,
String... arguments)
Similar to the
Dao.queryRaw(String, String...) but instead of an array of String results being returned by
the iterator, this uses the column-types parameter to return an array of Objects instead. |
GenericRawResults<Object[]> |
RuntimeExceptionDao.queryRaw(String query,
DataType[] columnTypes,
String... arguments) |
Modifier and Type | Field and Description |
---|---|
static DataType |
DatabaseFieldConfig.DEFAULT_DATA_TYPE |
Modifier and Type | Method and Description |
---|---|
DataType |
DatabaseFieldConfig.getDataType() |
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseFieldConfig.setDataType(DataType dataType) |
Constructor and Description |
---|
DatabaseFieldConfig(String fieldName,
String columnName,
DataType dataType,
String defaultValue,
int width,
boolean canBeNull,
boolean id,
boolean generatedId,
String generatedIdSequence,
boolean foreign,
DatabaseTableConfig<?> foreignTableConfig,
boolean useGetSet,
Enum<?> unknownEnumValue,
boolean throwIfNull,
String format,
boolean unique,
String indexName,
String uniqueIndexName,
boolean autoRefresh,
int maxForeignAutoRefreshLevel,
int maxForeignCollectionLevel) |
Modifier and Type | Method and Description |
---|---|
<UO> GenericRawResults<UO> |
StatementExecutor.queryRaw(ConnectionSource connectionSource,
String query,
DataType[] columnTypes,
RawRowObjectMapper<UO> rowMapper,
String[] arguments,
ObjectCache objectCache)
Return a results object associated with an internal iterator is mapped by the user's rowMapper.
|
GenericRawResults<Object[]> |
StatementExecutor.queryRaw(ConnectionSource connectionSource,
String query,
DataType[] columnTypes,
String[] arguments,
ObjectCache objectCache)
Return a results object associated with an internal iterator that returns Object[] results.
|
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.