Class ScyllaDBQuery
java.lang.Object
org.eclipse.jnosql.databases.scylladb.communication.ScyllaDBQuery
- All Implemented Interfaces:
org.eclipse.jnosql.communication.semistructured.SelectQuery
public final class ScyllaDBQuery
extends Object
implements org.eclipse.jnosql.communication.semistructured.SelectQuery
A ScyllaDB specialization of
SelectQuery that allows query with paging state which can do pagination.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jnosql.communication.semistructured.SelectQuery
org.eclipse.jnosql.communication.semistructured.SelectQuery.QueryBuilder, org.eclipse.jnosql.communication.semistructured.SelectQuery.QueryBuilderProvider, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectElements, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectFrom, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectLimit, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectNameCondition, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectNameOrder, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectNotCondition, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectOrder, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectProvider, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectQueryBuild, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectSkip, org.eclipse.jnosql.communication.semistructured.SelectQuery.SelectWhere -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Optional<org.eclipse.jnosql.communication.semistructured.CriteriaCondition>booleanpagingStateinthashCode()longlimit()name()static ScyllaDBQueryof(org.eclipse.jnosql.communication.semistructured.SelectQuery query) returns a new instance ofScyllaDBQuerystatic ScyllaDBQueryreturns a new instance ofScyllaDBQuerylongskip()List<jakarta.data.Sort<?>>sorts()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jnosql.communication.semistructured.SelectQuery
isCount
-
Method Details
-
getPagingState
pagingState- Returns:
- the
pagingState
-
limit
public long limit()- Specified by:
limitin interfaceorg.eclipse.jnosql.communication.semistructured.SelectQuery
-
skip
public long skip()- Specified by:
skipin interfaceorg.eclipse.jnosql.communication.semistructured.SelectQuery
-
name
- Specified by:
namein interfaceorg.eclipse.jnosql.communication.semistructured.SelectQuery
-
condition
- Specified by:
conditionin interfaceorg.eclipse.jnosql.communication.semistructured.SelectQuery
-
sorts
- Specified by:
sortsin interfaceorg.eclipse.jnosql.communication.semistructured.SelectQuery
-
columns
- Specified by:
columnsin interfaceorg.eclipse.jnosql.communication.semistructured.SelectQuery
-
equals
-
hashCode
public int hashCode() -
toString
-
of
returns a new instance ofScyllaDBQuery- Parameters:
query- theSelectQuery- Returns:
- a new instance
- Throws:
NullPointerException- when query is null
-
of
public static ScyllaDBQuery of(org.eclipse.jnosql.communication.semistructured.SelectQuery query, String pagingState) returns a new instance ofScyllaDBQuery- Parameters:
query- theSelectQuerypagingState-pagingState- Returns:
- a new instance
- Throws:
NullPointerException- when there is null parameter
-