| Package | Description |
|---|---|
| ch.jalu.datasourcecolumns | |
| ch.jalu.datasourcecolumns.data | |
| ch.jalu.datasourcecolumns.predicate | |
| ch.jalu.datasourcecolumns.sqlimplementation |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DependentColumn<T,C,D>
Column whose value may be derived from an external object.
|
| Modifier and Type | Method and Description |
|---|---|
DataSourceValues |
ColumnsHandler.retrieve(I identifier,
Column<?,C>... columns)
Retrieves multiple values from a given row.
|
<T> DataSourceValue<T> |
ColumnsHandler.retrieve(I identifier,
Column<T,C> column)
Retrieves the given column from a given row.
|
List<DataSourceValues> |
ColumnsHandler.retrieve(Predicate<C> predicate,
Column<?,C>... columns)
Retrieves the given columns' values from all rows that satisfy the given predicate.
|
<T> List<T> |
ColumnsHandler.retrieve(Predicate<C> predicate,
Column<T,C> column)
Retrieves a column's value for all rows that satisfy the given predicate.
|
<T> boolean |
ColumnsHandler.update(I identifier,
Column<T,C> column,
T value)
Changes a column from a specific row to the given value.
|
<T> int |
ColumnsHandler.update(Predicate<C> predicate,
Column<T,C> column,
T value)
Sets the given value to the provided column for all rows which match the predicate.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Column<?,C>> |
UpdateValues.getColumns() |
| Modifier and Type | Method and Description |
|---|---|
<T> UpdateValues.Builder<C> |
UpdateValues.Builder.and(Column<T,C> column,
T value)
Adds a new value and returns the builder.
|
<T> T |
DataSourceValues.get(Column<T,?> column)
Gets the value of the associated column.
|
<T> T |
DataSourceValuesImpl.get(Column<T,?> column) |
<T> T |
UpdateValues.get(Column<T,C> column)
Gets the value associated with the column.
|
<T> void |
DataSourceValuesImpl.put(Column<T,?> column,
Object value)
Adds the provided value for the given column.
|
static <C,T> UpdateValues.Builder<C> |
UpdateValues.with(Column<T,C> column,
T value)
Creates a new builder with the given column and its value as first entry.
|
| Modifier and Type | Method and Description |
|---|---|
Column<?,C> |
ComparingPredicate.getColumn() |
Column<?,C> |
IsNullPredicate.getColumn() |
Column<?,C> |
IsNotNullPredicate.getColumn() |
Column<String,C> |
EqualsIgnoreCasePredicate.getColumn() |
| Modifier and Type | Method and Description |
|---|---|
static <T,C> ComparingPredicate<T,C> |
StandardPredicates.eq(Column<T,C> column,
T requiredValue) |
static <C> EqualsIgnoreCasePredicate<C> |
StandardPredicates.eqIgnoreCase(Column<String,C> column,
String requiredValue) |
static <T,C> ComparingPredicate<T,C> |
StandardPredicates.greaterThan(Column<T,C> column,
T requiredValue) |
static <T,C> ComparingPredicate<T,C> |
StandardPredicates.greaterThanEquals(Column<T,C> column,
T requiredValue) |
static <C> IsNotNullPredicate<C> |
StandardPredicates.isNotNull(Column<?,C> column) |
static <C> IsNullPredicate<C> |
StandardPredicates.isNull(Column<?,C> column) |
static <T,C> ComparingPredicate<T,C> |
StandardPredicates.lessThan(Column<T,C> column,
T requiredValue) |
static <T,C> ComparingPredicate<T,C> |
StandardPredicates.lessThanEquals(Column<T,C> column,
T requiredValue) |
static <T,C> ComparingPredicate<T,C> |
StandardPredicates.notEq(Column<T,C> column,
T requiredValue) |
static <C> EqualsIgnoreCasePredicate<C> |
StandardPredicates.notEqIgnoreCase(Column<String,C> column,
String requiredValue) |
| Constructor and Description |
|---|
ComparingPredicate(Column<T,C> column,
T value,
ComparingPredicate.Type type) |
EqualsIgnoreCasePredicate(Column<String,C> column,
String value,
boolean isNegated) |
IsNotNullPredicate(Column<?,C> column) |
IsNullPredicate(Column<?,C> column) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ResultSetValueRetriever.get(ResultSet rs,
Column<T,C> column)
Gets the value for the column from the given result set.
|
protected void |
PredicateSqlGenerator.processIsNullAndNotNullPredicate(boolean isNegated,
Column<?,C> column,
StringBuilder sqlResult) |
DataSourceValues |
SqlColumnsHandler.retrieve(I identifier,
Column<?,C>... columns) |
<T> DataSourceValue<T> |
SqlColumnsHandler.retrieve(I identifier,
Column<T,C> column) |
List<DataSourceValues> |
SqlColumnsHandler.retrieve(Predicate<C> predicate,
Column<?,C>... columns) |
<T> List<T> |
SqlColumnsHandler.retrieve(Predicate<C> predicate,
Column<T,C> column) |
<T> boolean |
SqlColumnsHandler.update(I identifier,
Column<T,C> column,
T value) |
<T> int |
SqlColumnsHandler.update(Predicate<C> predicate,
Column<T,C> column,
T value) |
Copyright © 2017–2024. All rights reserved.