Interface ColumnEntityOrBuilder (2.42.0)

public interface ColumnEntityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArray()

public abstract boolean getArray()

Is the column of array type.

bool array = 9;

Returns
Type Description
boolean

The array.

getArrayLength()

public abstract int getArrayLength()

If the column is array, of which length.

int32 array_length = 10;

Returns
Type Description
int

The arrayLength.

getAutoGenerated()

public abstract boolean getAutoGenerated()

Is the column auto-generated/identity.

bool auto_generated = 12;

Returns
Type Description
boolean

The autoGenerated.

getCharset()

public abstract String getCharset()

Charset override - instead of table level charset.

string charset = 3;

Returns
Type Description
String

The charset.

getCharsetBytes()

public abstract ByteString getCharsetBytes()

Charset override - instead of table level charset.

string charset = 3;

Returns
Type Description
ByteString

The bytes for charset.

getCollation()

public abstract String getCollation()

Collation override - instead of table level collation.

string collation = 4;

Returns
Type Description
String

The collation.

getCollationBytes()

public abstract ByteString getCollationBytes()

Collation override - instead of table level collation.

string collation = 4;

Returns
Type Description
ByteString

The bytes for collation.

getComment()

public abstract String getComment()

Comment associated with the column.

string comment = 16;

Returns
Type Description
String

The comment.

getCommentBytes()

public abstract ByteString getCommentBytes()

Comment associated with the column.

string comment = 16;

Returns
Type Description
ByteString

The bytes for comment.

getCustomFeatures()

public abstract Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 14;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public abstract StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 14;

Returns
Type Description
StructOrBuilder

getDataType()

public abstract String getDataType()

Column data type.

string data_type = 2;

Returns
Type Description
String

The dataType.

getDataTypeBytes()

public abstract ByteString getDataTypeBytes()

Column data type.

string data_type = 2;

Returns
Type Description
ByteString

The bytes for dataType.

getDefaultValue()

public abstract String getDefaultValue()

Default value of the column.

string default_value = 18;

Returns
Type Description
String

The defaultValue.

getDefaultValueBytes()

public abstract ByteString getDefaultValueBytes()

Default value of the column.

string default_value = 18;

Returns
Type Description
ByteString

The bytes for defaultValue.

getFractionalSecondsPrecision()

public abstract int getFractionalSecondsPrecision()

Column fractional second precision - used for timestamp based datatypes.

int32 fractional_seconds_precision = 8;

Returns
Type Description
int

The fractionalSecondsPrecision.

getLength()

public abstract long getLength()

Column length - e.g. varchar (50).

int64 length = 5;

Returns
Type Description
long

The length.

getName()

public abstract String getName()

Column name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Column name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNullable()

public abstract boolean getNullable()

Is the column nullable.

bool nullable = 11;

Returns
Type Description
boolean

The nullable.

getOrdinalPosition()

public abstract int getOrdinalPosition()

Column order in the table.

int32 ordinal_position = 17;

Returns
Type Description
int

The ordinalPosition.

getPrecision()

public abstract int getPrecision()

Column precision - when relevant.

int32 precision = 6;

Returns
Type Description
int

The precision.

getScale()

public abstract int getScale()

Column scale - when relevant.

int32 scale = 7;

Returns
Type Description
int

The scale.

getSetValues(int index)

public abstract String getSetValues(int index)

Specifies the list of values allowed in the column. Only used for set data type.

repeated string set_values = 15;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The setValues at the given index.

getSetValuesBytes(int index)

public abstract ByteString getSetValuesBytes(int index)

Specifies the list of values allowed in the column. Only used for set data type.

repeated string set_values = 15;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the setValues at the given index.

getSetValuesCount()

public abstract int getSetValuesCount()

Specifies the list of values allowed in the column. Only used for set data type.

repeated string set_values = 15;

Returns
Type Description
int

The count of setValues.

getSetValuesList()

public abstract List<String> getSetValuesList()

Specifies the list of values allowed in the column. Only used for set data type.

repeated string set_values = 15;

Returns
Type Description
List<String>

A list containing the setValues.

getUdt()

public abstract boolean getUdt()

Is the column a UDT.

bool udt = 13;

Returns
Type Description
boolean

The udt.

hasCustomFeatures()

public abstract boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 14;

Returns
Type Description
boolean

Whether the customFeatures field is set.