Interface MetastorePartitionOrBuilder (3.10.3)

public interface MetastorePartitionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsParameters(String key)

public abstract boolean containsParameters(String key)

Optional. Additional parameters or metadata associated with the partition. Maximum size 10 KiB.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the partition.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the partition.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getFields(int index)

public abstract FieldSchema getFields(int index)

Optional. List of columns.

repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FieldSchema

getFieldsCount()

public abstract int getFieldsCount()

Optional. List of columns.

repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFieldsList()

public abstract List<FieldSchema> getFieldsList()

Optional. List of columns.

repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<FieldSchema>

getFieldsOrBuilder(int index)

public abstract FieldSchemaOrBuilder getFieldsOrBuilder(int index)

Optional. List of columns.

repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FieldSchemaOrBuilder

getFieldsOrBuilderList()

public abstract List<? extends FieldSchemaOrBuilder> getFieldsOrBuilderList()

Optional. List of columns.

repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1alpha.FieldSchemaOrBuilder>

getParameters() (deprecated)

public abstract Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public abstract int getParametersCount()

Optional. Additional parameters or metadata associated with the partition. Maximum size 10 KiB.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersMap()

public abstract Map<String,String> getParametersMap()

Optional. Additional parameters or metadata associated with the partition. Maximum size 10 KiB.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public abstract String getParametersOrDefault(String key, String defaultValue)

Optional. Additional parameters or metadata associated with the partition. Maximum size 10 KiB.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public abstract String getParametersOrThrow(String key)

Optional. Additional parameters or metadata associated with the partition. Maximum size 10 KiB.

map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getStorageDescriptor()

public abstract StorageDescriptor getStorageDescriptor()

Optional. Contains information about the physical storage of the data in the partition.

.google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor

The storageDescriptor.

getStorageDescriptorOrBuilder()

public abstract StorageDescriptorOrBuilder getStorageDescriptorOrBuilder()

Optional. Contains information about the physical storage of the data in the partition.

.google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptorOrBuilder

getValues(int index)

public abstract String getValues(int index)

Required. Represents the values of the partition keys, where each value corresponds to a specific partition key in the order in which the keys are defined. Each value is limited to 1024 characters.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

public abstract ByteString getValuesBytes(int index)

Required. Represents the values of the partition keys, where each value corresponds to a specific partition key in the order in which the keys are defined. Each value is limited to 1024 characters.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

public abstract int getValuesCount()

Required. Represents the values of the partition keys, where each value corresponds to a specific partition key in the order in which the keys are defined. Each value is limited to 1024 characters.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Required. Represents the values of the partition keys, where each value corresponds to a specific partition key in the order in which the keys are defined. Each value is limited to 1024 characters.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the values.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time of the partition.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasStorageDescriptor()

public abstract boolean hasStorageDescriptor()

Optional. Contains information about the physical storage of the data in the partition.

.google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the storageDescriptor field is set.