public static final class ArrowSchema.Builder extends GeneratedMessage.Builder<ArrowSchema.Builder> implements ArrowSchemaOrBuilderArrow schema as specified in https://arrow.apache.org/docs/python/api/datatypes.html and serialized to bytes using IPC: https://arrow.apache.org/docs/format/Columnar.html#serialization-and-interprocess-communication-ipc
See code samples on how this message can be deserialized.
Protobuf type google.cloud.bigquery.storage.v1.ArrowSchema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ArrowSchema.BuilderImplements
ArrowSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ArrowSchema build()| Returns | |
|---|---|
| Type | Description |
ArrowSchema |
|
buildPartial()
public ArrowSchema buildPartial()| Returns | |
|---|---|
| Type | Description |
ArrowSchema |
|
clear()
public ArrowSchema.Builder clear()| Returns | |
|---|---|
| Type | Description |
ArrowSchema.Builder |
|
clearSerializedSchema()
public ArrowSchema.Builder clearSerializedSchema()IPC serialized Arrow schema.
bytes serialized_schema = 1;
| Returns | |
|---|---|
| Type | Description |
ArrowSchema.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ArrowSchema getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ArrowSchema |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSerializedSchema()
public ByteString getSerializedSchema()IPC serialized Arrow schema.
bytes serialized_schema = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The serializedSchema. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ArrowSchema other)
public ArrowSchema.Builder mergeFrom(ArrowSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
ArrowSchema |
| Returns | |
|---|---|
| Type | Description |
ArrowSchema.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArrowSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ArrowSchema.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ArrowSchema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ArrowSchema.Builder |
|
setSerializedSchema(ByteString value)
public ArrowSchema.Builder setSerializedSchema(ByteString value)IPC serialized Arrow schema.
bytes serialized_schema = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe serializedSchema to set. |
| Returns | |
|---|---|
| Type | Description |
ArrowSchema.Builder |
This builder for chaining. |