Class ArrowRecordBatch (3.0.1)

public final class ArrowRecordBatch extends GeneratedMessageV3 implements ArrowRecordBatchOrBuilder

Arrow RecordBatch.

Protobuf type google.cloud.bigquery.storage.v1.ArrowRecordBatch

Static Fields

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SERIALIZED_RECORD_BATCH_FIELD_NUMBER

public static final int SERIALIZED_RECORD_BATCH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ArrowRecordBatch getDefaultInstance()
Returns
TypeDescription
ArrowRecordBatch

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ArrowRecordBatch.Builder newBuilder()
Returns
TypeDescription
ArrowRecordBatch.Builder

newBuilder(ArrowRecordBatch prototype)

public static ArrowRecordBatch.Builder newBuilder(ArrowRecordBatch prototype)
Parameter
NameDescription
prototypeArrowRecordBatch
Returns
TypeDescription
ArrowRecordBatch.Builder

parseDelimitedFrom(InputStream input)

public static ArrowRecordBatch parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ArrowRecordBatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ArrowRecordBatch parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ArrowRecordBatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ArrowRecordBatch parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ArrowRecordBatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ArrowRecordBatch parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ArrowRecordBatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ArrowRecordBatch parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ArrowRecordBatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ArrowRecordBatch parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ArrowRecordBatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowRecordBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ArrowRecordBatch> parser()
Returns
TypeDescription
Parser<ArrowRecordBatch>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ArrowRecordBatch getDefaultInstanceForType()
Returns
TypeDescription
ArrowRecordBatch

getParserForType()

public Parser<ArrowRecordBatch> getParserForType()
Returns
TypeDescription
Parser<ArrowRecordBatch>
Overrides

getRowCount() (deprecated)

public long getRowCount()

Deprecated. google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See google/cloud/bigquery/storage/v1/arrow.proto;l=43

[Deprecated] The count of rows in serialized_record_batch. Please use the format-independent ReadRowsResponse.row_count instead.

int64 row_count = 2 [deprecated = true];

Returns
TypeDescription
long

The rowCount.

getSerializedRecordBatch()

public ByteString getSerializedRecordBatch()

IPC-serialized Arrow RecordBatch.

bytes serialized_record_batch = 1;

Returns
TypeDescription
ByteString

The serializedRecordBatch.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ArrowRecordBatch.Builder newBuilderForType()
Returns
TypeDescription
ArrowRecordBatch.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ArrowRecordBatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ArrowRecordBatch.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ArrowRecordBatch.Builder toBuilder()
Returns
TypeDescription
ArrowRecordBatch.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException