public static final class ReadSession.TableReadOptions extends com.google.protobuf.GeneratedMessageV3 implements ReadSession.TableReadOptionsOrBuilder
Options dictating how we read a table.Protobuf type
google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions| Modifier and Type | Class and Description |
|---|---|
static class |
ReadSession.TableReadOptions.Builder
Options dictating how we read a table.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARROW_SERIALIZATION_OPTIONS_FIELD_NUMBER |
static int |
ROW_RESTRICTION_FIELD_NUMBER |
static int |
SELECTED_FIELDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ArrowSerializationOptions |
getArrowSerializationOptions()
Optional.
|
ArrowSerializationOptionsOrBuilder |
getArrowSerializationOptionsOrBuilder()
Optional.
|
static ReadSession.TableReadOptions |
getDefaultInstance() |
ReadSession.TableReadOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ReadSession.TableReadOptions> |
getParserForType() |
String |
getRowRestriction()
SQL text filtering statement, similar to a WHERE clause in a query.
|
com.google.protobuf.ByteString |
getRowRestrictionBytes()
SQL text filtering statement, similar to a WHERE clause in a query.
|
String |
getSelectedFields(int index)
Names of the fields in the table that should be read.
|
com.google.protobuf.ByteString |
getSelectedFieldsBytes(int index)
Names of the fields in the table that should be read.
|
int |
getSelectedFieldsCount()
Names of the fields in the table that should be read.
|
com.google.protobuf.ProtocolStringList |
getSelectedFieldsList()
Names of the fields in the table that should be read.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasArrowSerializationOptions()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadSession.TableReadOptions.Builder |
newBuilder() |
static ReadSession.TableReadOptions.Builder |
newBuilder(ReadSession.TableReadOptions prototype) |
ReadSession.TableReadOptions.Builder |
newBuilderForType() |
protected ReadSession.TableReadOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReadSession.TableReadOptions |
parseDelimitedFrom(InputStream input) |
static ReadSession.TableReadOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadSession.TableReadOptions |
parseFrom(byte[] data) |
static ReadSession.TableReadOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadSession.TableReadOptions |
parseFrom(ByteBuffer data) |
static ReadSession.TableReadOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadSession.TableReadOptions |
parseFrom(com.google.protobuf.ByteString data) |
static ReadSession.TableReadOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadSession.TableReadOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadSession.TableReadOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadSession.TableReadOptions |
parseFrom(InputStream input) |
static ReadSession.TableReadOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadSession.TableReadOptions> |
parser() |
ReadSession.TableReadOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SELECTED_FIELDS_FIELD_NUMBER
public static final int ROW_RESTRICTION_FIELD_NUMBER
public static final int ARROW_SERIALIZATION_OPTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getSelectedFieldsList()
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFieldsList in interface ReadSession.TableReadOptionsOrBuilderpublic int getSelectedFieldsCount()
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFieldsCount in interface ReadSession.TableReadOptionsOrBuilderpublic String getSelectedFields(int index)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFields in interface ReadSession.TableReadOptionsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSelectedFieldsBytes(int index)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFieldsBytes in interface ReadSession.TableReadOptionsOrBuilderindex - The index of the value to return.public String getRowRestriction()
SQL text filtering statement, similar to a WHERE clause in a query.
Aggregates are not supported.
Examples: "int_field > 5"
"date_field = CAST('2014-9-27' as DATE)"
"nullable_field is not NULL"
"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"
"numeric_field BETWEEN 1.0 AND 5.0"
Restricted to a maximum length for 1 MB.
string row_restriction = 2;getRowRestriction in interface ReadSession.TableReadOptionsOrBuilderpublic com.google.protobuf.ByteString getRowRestrictionBytes()
SQL text filtering statement, similar to a WHERE clause in a query.
Aggregates are not supported.
Examples: "int_field > 5"
"date_field = CAST('2014-9-27' as DATE)"
"nullable_field is not NULL"
"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"
"numeric_field BETWEEN 1.0 AND 5.0"
Restricted to a maximum length for 1 MB.
string row_restriction = 2;getRowRestrictionBytes in interface ReadSession.TableReadOptionsOrBuilderpublic boolean hasArrowSerializationOptions()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
hasArrowSerializationOptions in interface ReadSession.TableReadOptionsOrBuilderpublic ArrowSerializationOptions getArrowSerializationOptions()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
getArrowSerializationOptions in interface ReadSession.TableReadOptionsOrBuilderpublic ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
getArrowSerializationOptionsOrBuilder in interface ReadSession.TableReadOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReadSession.TableReadOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadSession.TableReadOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadSession.TableReadOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadSession.TableReadOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadSession.TableReadOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadSession.TableReadOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadSession.TableReadOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReadSession.TableReadOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadSession.TableReadOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReadSession.TableReadOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadSession.TableReadOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReadSession.TableReadOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReadSession.TableReadOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReadSession.TableReadOptions.Builder newBuilder()
public static ReadSession.TableReadOptions.Builder newBuilder(ReadSession.TableReadOptions prototype)
public ReadSession.TableReadOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReadSession.TableReadOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReadSession.TableReadOptions getDefaultInstance()
public static com.google.protobuf.Parser<ReadSession.TableReadOptions> parser()
public com.google.protobuf.Parser<ReadSession.TableReadOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReadSession.TableReadOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.