Modifier and Type | Field and Description |
---|---|
static GenericColumn<BigDecimal> |
GenericColumn.BIG_DECIMAL
An instance that supports
BigDecimal data elements. |
static GenericColumn<Boolean> |
GenericColumn.BOOLEAN
An instance that supports
Boolean or boolean data elements. |
static GenericColumn<Byte> |
GenericColumn.BYTE
An instance that supports
Byte or byte data elements. |
static GenericColumn<Double> |
GenericColumn.DOUBLE
An instance that supports
Double or double data elements. |
static GenericColumn<Float> |
GenericColumn.FLOAT
An instance that supports
Float or float data elements. |
static GenericColumn<Integer> |
GenericColumn.INTEGER
An instance that supports
Integer or int data elements. |
static GenericColumn<Long> |
GenericColumn.LONG
An instance that supports
Long or long data elements. |
static GenericColumn<String> |
GenericColumn.STRING
An instance that supports
String data elements. |
static GenericColumn<Timestamp> |
GenericColumn.TIMESTAMP
An instance that supports
Timestamp data elements. |
Modifier and Type | Method and Description |
---|---|
GenericColumn<Long> |
DirectPrimaryKey.asGenericColumn() |
GenericColumn<DBTYPE> |
Column.asGenericColumn()
Returns a generic column instance that supports the underlying
DBTYPE |
GenericColumn<Long> |
IndirectPrimaryKey.asGenericColumn() |
GenericColumn<Long> |
NoBackReferenceParentColumn.asGenericColumn() |
GenericColumn<DBTYPE> |
ColumnImpl.asGenericColumn() |
GenericColumn<Long> |
ParentColumnImpl.asGenericColumn() |
GenericColumn<Long> |
JoinColumn.asGenericColumn() |
GenericColumn<TYPE> |
GenericColumn.withTypeName(String sqlTypeName)
Create a new instance with a new SQL type name to be used in a generated
schema.
|
Modifier and Type | Method and Description |
---|---|
<T> Where |
Where.and(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
|
static <DBTYPE,CLASSTYPE,ENTITY,BUILDER> |
DataColumnFactory.convertedGenericColumn(String name,
String prefix,
Function<ENTITY,CLASSTYPE> getter,
BiConsumer<BUILDER,CLASSTYPE> setter,
GenericColumn<DBTYPE> genericColumn,
Converter<CLASSTYPE,DBTYPE> converter,
boolean nullable) |
static <T,E,B> Column<T,T,E,B> |
ColumnImpl.directColumn(GenericColumn<T> genericColumn,
String prefix,
String name,
Function<E,T> getter,
BiConsumer<B,T> setter,
String sqlTypeName,
boolean nullable) |
static <V> WherePredicate<V> |
WherePredicate.forGeneric(String name,
Operator operator,
V value,
GenericColumn<V> column) |
static <TYPE,ENTITY,BUILDER> |
DataColumnFactory.genericColumn(String name,
String prefix,
Function<ENTITY,TYPE> getter,
BiConsumer<BUILDER,TYPE> setter,
GenericColumn<TYPE> genericColumn,
boolean nullable) |
static <T> Where |
Where.inColumn(String columnName,
GenericColumn<T> column,
List<T> elements)
Generates an
IN clause applying to the specified column and
including the passed list of elements. |
static <T> Where |
Where.notInColumn(String columnName,
GenericColumn<T> column,
List<T> elements)
Generates a
NOT IN clause applying to the specified column and
excluding the passed list of elements. |
<T> Where |
Where.or(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
|
static <T> Where |
Where.where(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Factory method equivalent to
new Where(columnName, operator, value, column) . |
<T,U> B |
AbstractKeylessDaoBuilder.withConvertedGenericColumn(String columnName,
Function<ENTITY,U> getter,
BiConsumer<ENTITYBUILDER,U> setter,
GenericColumn<T> genericColumn,
Converter<U,T> converter)
Describes a data element of type
U that can be stored in
a GenericColumn that stores objects of type T . |
<T> B |
AbstractKeylessDaoBuilder.withGenericColumn(String columnName,
Function<ENTITY,T> getter,
BiConsumer<ENTITYBUILDER,T> setter,
GenericColumn<T> genericColumn)
Describes a data element of type
T that can be stored in
a GenericColumn . |
Constructor and Description |
---|
ColumnImpl(GenericColumn<DBTYPE> genericColumn,
String prefix,
String name,
Function<ENTITY,CLASSTYPE> getter,
BiConsumer<BUILDER,CLASSTYPE> setter,
String sqlTypeName,
boolean nullable,
Converter<CLASSTYPE,DBTYPE> converter) |
Where(String columnName,
Operator operator,
T value,
GenericColumn<T> column)
Create a new instance of a
Where object
containing one predicate. |
Copyright © 2019. All rights reserved.