public abstract class FilterableStatementBuilder<T,S extends FilterableStatement<T,?>> extends StatementBuilder<S> implements FilterableStatement<T,S>
hints
Constructor and Description |
---|
FilterableStatementBuilder() |
Modifier and Type | Method and Description |
---|---|
S |
byId(Object idValue) |
S |
byParams(Collection<String> elementRefs) |
S |
byParams(String... elementRefs) |
S |
filter(CqnPredicate predicate) |
S |
filter(Function<T,CqnPredicate> predicate) |
S |
matching(Map<String,?> values) |
Optional<CqnPredicate> |
where() |
S |
where(CqnPredicate pred) |
S |
where(Function<T,CqnPredicate> pred) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asDelete, asInsert, asSelect, asUpdate, asUpsert, hints, isDelete, isInsert, isSelect, isUpdate, isUpsert, ref
toJson
public Optional<CqnPredicate> where()
where
in interface CqnFilterableStatement
public S where(CqnPredicate pred)
where
in interface FilterableStatement<T,S extends FilterableStatement<T,?>>
public S matching(Map<String,?> values)
matching
in interface FilterableStatement<T,S extends FilterableStatement<T,?>>
public S byParams(Collection<String> elementRefs)
byParams
in interface FilterableStatement<T,S extends FilterableStatement<T,?>>
public S byId(Object idValue)
byId
in interface FilterableStatement<T,S extends FilterableStatement<T,?>>
public S where(Function<T,CqnPredicate> pred)
where
in interface FilterableStatement<T,S extends FilterableStatement<T,?>>
@Beta public S filter(CqnPredicate predicate)
@Beta public S filter(Function<T,CqnPredicate> predicate)
public S byParams(String... elementRefs)
byParams
in interface FilterableStatement<T,S extends FilterableStatement<T,?>>
Copyright © 2023 SAP. All rights reserved.