Class QueryOrderer<R>
java.lang.Object
net.binis.codegen.spring.query.executor.QueryOrderer<R>
- All Implemented Interfaces:
Printable,Queryable,QueryAccessor,QueryAggregateOperation,QueryCollectionFunctions<Object,,R> QueryExecute<R>,QueryFunctions<Object,,R> QueryJoinAggregateOperation,QueryOrderOperation<Object,,R> QueryScript<R>,QuerySelf
public class QueryOrderer<R>
extends Object
implements QueryAccessor, QueryOrderOperation<Object,R>, QueryJoinAggregateOperation, QuerySelf
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_open()_self()and()asc()avg()cnt()containsAll(Collection<Object> list) containsNone(Collection<Object> list) containsOne(Collection<Object> list) longcount()voiddelete()desc()distinct()ensure()booleanexists()flush(jakarta.persistence.FlushModeType type) get()<V> Optional<V>greaterEqual(Object value) greaterEqual(Queryable query) group()in(Collection<Object> values) isEmpty()isNull()length()list()<V> List<V>lock(jakarta.persistence.LockModeType type) max()min()notContains(Object value) booleanorg.springframework.data.domain.Page<R>page(long pageSize) <V> org.springframework.data.domain.Page<V>org.springframework.data.domain.Page<R>page(org.springframework.data.domain.Pageable pageable) <V> org.springframework.data.domain.Page<V><V> voidvoid<V> voidpaged(org.springframework.data.domain.Pageable pageable, Class<V> cls, Consumer<org.springframework.data.domain.Page<V>> consumer) voidpaged(org.springframework.data.domain.Pageable pageable, Consumer<org.springframework.data.domain.Page<R>> consumer) <V> voidvoid<V> voidvoidprepare()print()<V> QueryExecute<V>projection(Class<V> projection) intremove()intrun()voidsetJoinSupplier(IntSupplier supplier) voidsize()sum()top()top(long records) <V> List<V><V> Optional<V>Optional<jakarta.persistence.Tuple>tuple()List<jakarta.persistence.Tuple>tuples()<V> List<V>where()
-
Field Details
-
executor
-
func
-
-
Constructor Details
-
QueryOrderer
-
-
Method Details
-
ensure
- Specified by:
ensurein interfaceQueryExecute<R>
-
reference
- Specified by:
referencein interfaceQueryExecute<R>
-
get
- Specified by:
getin interfaceQueryExecute<R>
-
get
- Specified by:
getin interfaceQueryExecute<R>
-
list
- Specified by:
listin interfaceQueryExecute<R>
-
references
- Specified by:
referencesin interfaceQueryExecute<R>
-
list
- Specified by:
listin interfaceQueryExecute<R>
-
count
public long count()- Specified by:
countin interfaceQueryExecute<R>
-
top
- Specified by:
topin interfaceQueryExecute<R>
-
top
- Specified by:
topin interfaceQueryExecute<R>
-
top
- Specified by:
topin interfaceQueryExecute<R>
-
top
- Specified by:
topin interfaceQueryExecute<R>
-
page
public org.springframework.data.domain.Page<R> page(org.springframework.data.domain.Pageable pageable) - Specified by:
pagein interfaceQueryExecute<R>
-
page
public <V> org.springframework.data.domain.Page<V> page(org.springframework.data.domain.Pageable pageable, Class<V> cls) - Specified by:
pagein interfaceQueryExecute<R>
-
page
- Specified by:
pagein interfaceQueryExecute<R>
-
page
- Specified by:
pagein interfaceQueryExecute<R>
-
paginated
- Specified by:
paginatedin interfaceQueryExecute<R>
-
paginated
- Specified by:
paginatedin interfaceQueryExecute<R>
-
paginated
- Specified by:
paginatedin interfaceQueryExecute<R>
-
paginated
public <V> void paginated(org.springframework.data.domain.Pageable pageable, Class<V> cls, Consumer<V> consumer) - Specified by:
paginatedin interfaceQueryExecute<R>
-
paged
- Specified by:
pagedin interfaceQueryExecute<R>
-
paged
public void paged(org.springframework.data.domain.Pageable pageable, Consumer<org.springframework.data.domain.Page<R>> consumer) - Specified by:
pagedin interfaceQueryExecute<R>
-
paged
public <V> void paged(long pageSize, Class<V> cls, Consumer<org.springframework.data.domain.Page<V>> consumer) - Specified by:
pagedin interfaceQueryExecute<R>
-
paged
public <V> void paged(org.springframework.data.domain.Pageable pageable, Class<V> cls, Consumer<org.springframework.data.domain.Page<V>> consumer) - Specified by:
pagedin interfaceQueryExecute<R>
-
tuple
- Specified by:
tuplein interfaceQueryExecute<R>
-
tuple
- Specified by:
tuplein interfaceQueryExecute<R>
-
tuples
- Specified by:
tuplesin interfaceQueryExecute<R>
-
tuples
- Specified by:
tuplesin interfaceQueryExecute<R>
-
prepare
- Specified by:
preparein interfaceQueryExecute<R>
-
projection
- Specified by:
projectionin interfaceQueryExecute<R>
-
flush
- Specified by:
flushin interfaceQueryExecute<R>
-
lock
- Specified by:
lockin interfaceQueryExecute<R>
-
hint
- Specified by:
hintin interfaceQueryExecute<R>
-
filter
- Specified by:
filterin interfaceQueryExecute<R>
-
exists
public boolean exists()- Specified by:
existsin interfaceQueryExecute<R>
-
notExists
public boolean notExists()- Specified by:
notExistsin interfaceQueryExecute<R>
-
delete
public void delete()- Specified by:
deletein interfaceQueryExecute<R>
-
remove
public int remove()- Specified by:
removein interfaceQueryExecute<R>
-
run
public int run()- Specified by:
runin interfaceQueryExecute<R>
-
print
-
script
- Specified by:
scriptin interfaceQueryScript<R>
-
script
- Specified by:
scriptin interfaceQueryScript<R>
-
_open
-
sum
- Specified by:
sumin interfaceQueryAggregateOperation<R>
-
min
- Specified by:
minin interfaceQueryAggregateOperation<R>
-
max
- Specified by:
maxin interfaceQueryAggregateOperation<R>
-
avg
- Specified by:
avgin interfaceQueryAggregateOperation<R>
-
cnt
- Specified by:
cntin interfaceQueryAggregateOperation<R>
-
distinct
- Specified by:
distinctin interfaceQueryAggregateOperation<R>
-
group
- Specified by:
groupin interfaceQueryAggregateOperation<R>
-
desc
- Specified by:
descin interfaceQueryOrderOperation<Object,R>
-
asc
- Specified by:
ascin interfaceQueryOrderOperation<Object,R>
-
and
-
alias
-
where
- Specified by:
wherein interfaceQueryJoinAggregateOperation
-
getAccessorAlias
- Specified by:
getAccessorAliasin interfaceQueryAccessor
-
getAccessorSelect
- Specified by:
getAccessorSelectin interfaceQueryAccessor
-
getAccessorWhere
- Specified by:
getAccessorWherein interfaceQueryAccessor
-
getAccessorOrder
- Specified by:
getAccessorOrderin interfaceQueryAccessor
-
getParams
- Specified by:
getParamsin interfaceQueryAccessor
-
getCountQuery
- Specified by:
getCountQueryin interfaceQueryAccessor
-
getExistsQuery
- Specified by:
getExistsQueryin interfaceQueryAccessor
-
setJoinSupplier
- Specified by:
setJoinSupplierin interfaceQueryAccessor
-
setParams
- Specified by:
setParamsin interfaceQueryAccessor
-
_self
-
length
- Specified by:
lengthin interfaceQueryFunctions<Object,R>
-
equal
- Specified by:
equalin interfaceQueryFunctions<Object,R>
-
in
- Specified by:
inin interfaceQueryFunctions<Object,R>
-
isNull
- Specified by:
isNullin interfaceQueryFunctions<Object,R>
-
isNotNull
- Specified by:
isNotNullin interfaceQueryFunctions<Object,R>
-
like
- Specified by:
likein interfaceQueryFunctions<Object,R>
-
starts
- Specified by:
startsin interfaceQueryFunctions<Object,R>
-
ends
- Specified by:
endsin interfaceQueryFunctions<Object,R>
-
contains
- Specified by:
containsin interfaceQueryFunctions<Object,R>
-
greater
- Specified by:
greaterin interfaceQueryFunctions<Object,R>
-
greaterEqual
- Specified by:
greaterEqualin interfaceQueryFunctions<Object,R>
-
less
- Specified by:
lessin interfaceQueryFunctions<Object,R>
-
lessEqual
- Specified by:
lessEqualin interfaceQueryFunctions<Object,R>
-
lessEqual
- Specified by:
lessEqualin interfaceQueryFunctions<Object,R>
-
less
- Specified by:
lessin interfaceQueryFunctions<Object,R>
-
greaterEqual
- Specified by:
greaterEqualin interfaceQueryFunctions<Object,R>
-
greater
- Specified by:
greaterin interfaceQueryFunctions<Object,R>
-
in
- Specified by:
inin interfaceQueryFunctions<Object,R>
-
in
- Specified by:
inin interfaceQueryFunctions<Object,R>
-
between
- Specified by:
betweenin interfaceQueryFunctions<Object,R>
-
equal
- Specified by:
equalin interfaceQueryFunctions<Object,R>
-
size
- Specified by:
sizein interfaceQueryCollectionFunctions<Object,R>
-
size
- Specified by:
sizein interfaceQueryCollectionFunctions<Object,R>
-
contains
- Specified by:
containsin interfaceQueryCollectionFunctions<Object,R>
-
notContains
- Specified by:
notContainsin interfaceQueryCollectionFunctions<Object,R>
-
containsAll
- Specified by:
containsAllin interfaceQueryCollectionFunctions<Object,R>
-
containsOne
- Specified by:
containsOnein interfaceQueryCollectionFunctions<Object,R>
-
containsNone
- Specified by:
containsNonein interfaceQueryCollectionFunctions<Object,R>
-
isEmpty
- Specified by:
isEmptyin interfaceQueryCollectionFunctions<Object,R>
-
isNotEmpty
- Specified by:
isNotEmptyin interfaceQueryCollectionFunctions<Object,R>
-
joinFetch
- Specified by:
joinFetchin interfaceQueryCollectionFunctions<Object,R>
-
leftJoinFetch
- Specified by:
leftJoinFetchin interfaceQueryCollectionFunctions<Object,R>
-