Class ArrowProto.ArrowRecordBatch (2.45.0)

public static final class ArrowProto.ArrowRecordBatch extends GeneratedMessageV3 implements ArrowProto.ArrowRecordBatchOrBuilder

Arrow RecordBatch.

Protobuf type google.cloud.bigquery.storage.v1beta1.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 ArrowProto.ArrowRecordBatch getDefaultInstance()
Returns
TypeDescription
ArrowProto.ArrowRecordBatch

getDescriptor()

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

newBuilder()

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

newBuilder(ArrowProto.ArrowRecordBatch prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ArrowProto.ArrowRecordBatch getDefaultInstanceForType()
Returns
TypeDescription
ArrowProto.ArrowRecordBatch

getParserForType()

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

getRowCount()

public long getRowCount()

The count of rows in the returning block.

int64 row_count = 2;

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 ArrowProto.ArrowRecordBatch.Builder newBuilderForType()
Returns
TypeDescription
ArrowProto.ArrowRecordBatch.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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