Modifier and Type | Interface and Description |
---|---|
interface |
PrimaryKey<T>
Representation of a primary key of an entity.
|
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalColumn<T>
Describes a column with a decimal value that can be mapped
to a
BigDecimal |
class |
JoinColumn<T,J>
Represents a column that links to a foreign key of some
other entity.
|
class |
LocalDateTimeColumn<T>
Describes a column with an date/time value that can be mapped
to a
LocalDateTime |
class |
LongColumn<T>
Describes a column with an integer value that can be mapped
to a
Long |
class |
PrimaryKeyImpl<T> |
class |
StringColumn<T> |
class |
StringConverterColumn<T,E> |
Modifier and Type | Method and Description |
---|---|
TypedColumn<T> |
StringColumn.withPrefix(String prefix) |
TypedColumn<T> |
BigDecimalColumn.withPrefix(String prefix) |
TypedColumn<T> |
TypedColumn.withPrefix(String prefix)
Make a new instance of the column, identical to this instance, except with a
new prefix.
|
TypedColumn<T> |
LocalDateTimeColumn.withPrefix(String prefix) |
TypedColumn<T> |
JoinColumn.withPrefix(String prefix) |
TypedColumn<T> |
PrimaryKeyImpl.withPrefix(String prefix) |
TypedColumn<T> |
LongColumn.withPrefix(String prefix) |
TypedColumn<T> |
StringConverterColumn.withPrefix(String prefix) |
Modifier and Type | Method and Description |
---|---|
default List<TypedColumn<T>> |
DaoDescriptor.allColumns() |
default SortedMap<String,TypedColumn<T>> |
DaoDescriptor.columnMap(String... columnNames) |
List<TypedColumn<T>> |
DaoImpl.dataColumns() |
List<TypedColumn<T>> |
DaoDescriptor.dataColumns() |
List<TypedColumn<T>> |
DaoBuilder.dataColumns() |
List<TypedColumn<J>> |
JoinColumn.getDataColumns() |
Modifier and Type | Method and Description |
---|---|
List<T> |
SqlRunner.selectByColumns(String sql,
Supplier<T> supplier,
List<String> columnNames,
Map<String,TypedColumn<T>> columnNameMap,
List<ChildrenDescriptor<T,?>> childrenDescriptors,
T item) |
Constructor and Description |
---|
DaoImpl(Connection connection,
String tableName,
Supplier<T> supplier,
PrimaryKey<T> primaryKey,
List<TypedColumn<T>> dataColumns,
List<JoinColumn<T,?>> joinColumns,
List<ChildrenDescriptor<T,?>> childrenDescriptors) |
SqlBuilder(String table,
List<TypedColumn<T>> dataColumns,
List<JoinColumn<T,?>> joinColumns,
PrimaryKey<T> primaryKey) |
SqlRunner(Connection connection,
List<TypedColumn<T>> dataColumns,
List<JoinColumn<T,?>> joinColumns) |
Copyright © 2018. All rights reserved.