Package org.apache.cassandra.cql3
Class UntypedResultSet
java.lang.Object
org.apache.cassandra.cql3.UntypedResultSet
- All Implemented Interfaces:
Iterable<UntypedResultSet.Row>
a utility for doing internal cql-based queries
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UntypedResultSetcreate(List<Map<String, ByteBuffer>> results) static UntypedResultSetstatic UntypedResultSetcreate(SelectStatement select, ConsistencyLevel cl, ClientState clientState, QueryPager pager, int pageSize) This method is intended for testing purposes, since it executes query on cluster and not on the local node only.static UntypedResultSetcreate(SelectStatement select, QueryPager pager, int pageSize) booleanisEmpty()abstract List<ColumnSpecification>metadata()abstract UntypedResultSet.Rowone()abstract intsize()stream()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Constructor Details
-
UntypedResultSet
public UntypedResultSet()
-
-
Method Details
-
create
-
create
-
create
-
create
public static UntypedResultSet create(SelectStatement select, ConsistencyLevel cl, ClientState clientState, QueryPager pager, int pageSize) This method is intended for testing purposes, since it executes query on cluster and not on the local node only. -
isEmpty
public boolean isEmpty() -
stream
-
size
public abstract int size() -
one
-
metadata
-