Modifier and Type | Method and Description |
---|---|
static ResultSet |
forRows(Type type,
Iterable<Struct> rows)
Creates a pre-populated
ResultSet |
static AsyncResultSet |
toAsyncResultSet(ResultSet delegate)
Converts the given
ResultSet to an AsyncResultSet . |
static AsyncResultSet |
toAsyncResultSet(ResultSet delegate,
com.google.api.gax.core.ExecutorProvider executorProvider)
|
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)
Copyright © 2020 Google LLC. All rights reserved.