public final class ExecutedQueryResult extends GeneratedMessage implements ExecutedQueryResultOrBuilder
The result of a query execution. The design is generic for all dialects.
Protobuf type google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARTIAL_RESULT_FIELD_NUMBER
public static final int PARTIAL_RESULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
QUERY_EXECUTION_ERROR_FIELD_NUMBER
public static final int QUERY_EXECUTION_ERROR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ROWS_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TOTAL_ROW_COUNT_FIELD_NUMBER
public static final int TOTAL_ROW_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ExecutedQueryResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExecutedQueryResult.Builder newBuilder()
newBuilder(ExecutedQueryResult prototype)
public static ExecutedQueryResult.Builder newBuilder(ExecutedQueryResult prototype)
public static ExecutedQueryResult parseDelimitedFrom(InputStream input)
public static ExecutedQueryResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExecutedQueryResult parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecutedQueryResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExecutedQueryResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutedQueryResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutedQueryResult parseFrom(CodedInputStream input)
public static ExecutedQueryResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecutedQueryResult parseFrom(InputStream input)
public static ExecutedQueryResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExecutedQueryResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExecutedQueryResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExecutedQueryResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getColumns(int index)
public ExecutedQueryResult.Column getColumns(int index)
The columns in the result set, in order.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
| Parameter |
| Name |
Description |
index |
int
|
getColumnsCount()
public int getColumnsCount()
The columns in the result set, in order.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
| Returns |
| Type |
Description |
int |
|
getColumnsList()
public List<ExecutedQueryResult.Column> getColumnsList()
The columns in the result set, in order.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
getColumnsOrBuilder(int index)
public ExecutedQueryResult.ColumnOrBuilder getColumnsOrBuilder(int index)
The columns in the result set, in order.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
| Parameter |
| Name |
Description |
index |
int
|
getColumnsOrBuilderList()
public List<? extends ExecutedQueryResult.ColumnOrBuilder> getColumnsOrBuilderList()
The columns in the result set, in order.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column columns = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.ColumnOrBuilder> |
|
getDefaultInstanceForType()
public ExecutedQueryResult getDefaultInstanceForType()
getParserForType()
public Parser<ExecutedQueryResult> getParserForType()
Overrides
getPartialResult()
public boolean getPartialResult()
Set to true if the returned rows in query_result are a subset of the
full result. This can happen, for example, if the query execution hits a
row limit. When true, the query_result does not contain all
rows. To retrieve the complete result, consider using the
generated_query in QueryDataResponse and executing it in your own
environment.
bool partial_result = 4;
| Returns |
| Type |
Description |
boolean |
The partialResult.
|
getQueryExecutionError()
public String getQueryExecutionError()
The error message if the query execution failed.
string query_execution_error = 5;
| Returns |
| Type |
Description |
String |
The queryExecutionError.
|
getQueryExecutionErrorBytes()
public ByteString getQueryExecutionErrorBytes()
The error message if the query execution failed.
string query_execution_error = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for queryExecutionError.
|
getRows(int index)
public ExecutedQueryResult.Row getRows(int index)
The rows returned by the query.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
| Parameter |
| Name |
Description |
index |
int
|
getRowsCount()
public int getRowsCount()
The rows returned by the query.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
| Returns |
| Type |
Description |
int |
|
getRowsList()
public List<ExecutedQueryResult.Row> getRowsList()
The rows returned by the query.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
getRowsOrBuilder(int index)
public ExecutedQueryResult.RowOrBuilder getRowsOrBuilder(int index)
The rows returned by the query.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
| Parameter |
| Name |
Description |
index |
int
|
getRowsOrBuilderList()
public List<? extends ExecutedQueryResult.RowOrBuilder> getRowsOrBuilderList()
The rows returned by the query.
repeated .google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row rows = 2;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.RowOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTotalRowCount()
public long getTotalRowCount()
The total number of rows in the full result set, if known.
This may be an estimate or an exact count.
int64 total_row_count = 3;
| Returns |
| Type |
Description |
long |
The totalRowCount.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExecutedQueryResult.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExecutedQueryResult.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ExecutedQueryResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides