ProviderQueryStream
classin packageklyn.data.internal
public final class ProviderQueryStream<T> implements QueryStream<T>:
ProviderQueryStream
All Implemented Interfaces: QueryStream

Statically typed stream facade over one provider cursor.

Example
stream as QueryStream<User> = ProviderQueryStream<User>(cursor)
Properties
Modifier and Type Member Description
public readonly property current
current as T:
Returns the current statically typed result row.
Inherited Properties
propertyInherited Properties from QueryStream: current
Constructors
Modifier and Type Member Description
public ProviderQueryStream Creates a typed facade that owns the provider cursor.
Methods
Modifier and Type Member Description
public cancel
cancel() as Void:
Cancels the provider operation and closes this facade.
public close
close() as Void:
Closes the provider cursor idempotently.
public next
next() as Boolean:
Advances the provider cursor and performs one checked result cast.
Inherited Methods
methodInherited Methods from QueryStream: cancel, close, next
methodInherited Methods from AutoClosable: close