Modifier and Type | Method and Description |
---|---|
static ResultSet |
forRows(Type type,
Iterable<Struct> rows)
Creates a pre-populated
ResultSet |
static AsyncResultSet |
toAsyncResultSet(com.google.api.core.ApiFuture<ResultSet> delegate,
com.google.api.gax.core.ExecutorProvider executorProvider,
Options.QueryOption... options)
Converts the
ResultSet that will be returned by the given ApiFuture to an
AsyncResultSet using the given ExecutorProvider . |
static AsyncResultSet |
toAsyncResultSet(ResultSet delegate)
Converts the given
ResultSet to an AsyncResultSet . |
static AsyncResultSet |
toAsyncResultSet(ResultSet delegate,
com.google.api.gax.core.ExecutorProvider executorProvider,
Options.QueryOption... options)
|
public static ResultSet forRows(Type type, Iterable<Struct> rows)
ResultSet
public static AsyncResultSet toAsyncResultSet(ResultSet delegate)
ResultSet
to an AsyncResultSet
.public static AsyncResultSet toAsyncResultSet(ResultSet delegate, com.google.api.gax.core.ExecutorProvider executorProvider, Options.QueryOption... options)
public static AsyncResultSet toAsyncResultSet(com.google.api.core.ApiFuture<ResultSet> delegate, com.google.api.gax.core.ExecutorProvider executorProvider, Options.QueryOption... options)
ResultSet
that will be returned by the given ApiFuture
to an
AsyncResultSet
using the given ExecutorProvider
.Copyright © 2021 Google LLC. All rights reserved.