Interface ColumnEntityOrBuilder (2.21.0)

public interface ColumnEntityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArray()

public abstract boolean getArray()

Is the column of array type.

bool array = 9;

Returns
TypeDescription
boolean

The array.

getArrayLength()

public abstract int getArrayLength()

If the column is array, of which length.

int32 array_length = 10;

Returns
TypeDescription
int

The arrayLength.

getAutoGenerated()

public abstract boolean getAutoGenerated()

Is the column auto-generated/identity.

bool auto_generated = 12;

Returns
TypeDescription
boolean

The autoGenerated.

getCharset()

public abstract String getCharset()

Charset override - instead of table level charset.

string charset = 3;

Returns
TypeDescription
String

The charset.

getCharsetBytes()

public abstract ByteString getCharsetBytes()

Charset override - instead of table level charset.

string charset = 3;

Returns
TypeDescription
ByteString

The bytes for charset.

getCollation()

public abstract String getCollation()

Collation override - instead of table level collation.

string collation = 4;

Returns
TypeDescription
String

The collation.

getCollationBytes()

public abstract ByteString getCollationBytes()

Collation override - instead of table level collation.

string collation = 4;

Returns
TypeDescription
ByteString

The bytes for collation.

getComment()

public abstract String getComment()

Comment associated with the column.

string comment = 16;

Returns
TypeDescription
String

The comment.

getCommentBytes()

public abstract ByteString getCommentBytes()

Comment associated with the column.

string comment = 16;

Returns
TypeDescription
ByteString

The bytes for comment.

getCustomFeatures()

public abstract Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 14;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public abstract StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 14;

Returns
TypeDescription
StructOrBuilder

getDataType()

public abstract String getDataType()

Column data type.

string data_type = 2;

Returns
TypeDescription
String

The dataType.

getDataTypeBytes()

public abstract ByteString getDataTypeBytes()

Column data type.

string data_type = 2;

Returns
TypeDescription
ByteString

The bytes for dataType.

getDefaultValue()

public abstract String getDefaultValue()

Default value of the column.

string default_value = 18;

Returns
TypeDescription
String

The defaultValue.

getDefaultValueBytes()

public abstract ByteString getDefaultValueBytes()

Default value of the column.

string default_value = 18;

Returns
TypeDescription
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
TypeDescription
int

The fractionalSecondsPrecision.

getLength()

public abstract long getLength()

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

int64 length = 5;

Returns
TypeDescription
long

The length.

getName()

public abstract String getName()

Column name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Column name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNullable()

public abstract boolean getNullable()

Is the column nullable.

bool nullable = 11;

Returns
TypeDescription
boolean

The nullable.

getOrdinalPosition()

public abstract int getOrdinalPosition()

Column order in the table.

int32 ordinal_position = 17;

Returns
TypeDescription
int

The ordinalPosition.

getPrecision()

public abstract int getPrecision()

Column precision - when relevant.

int32 precision = 6;

Returns
TypeDescription
int

The precision.

getScale()

public abstract int getScale()

Column scale - when relevant.

int32 scale = 7;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the setValues.

getUdt()

public abstract boolean getUdt()

Is the column a UDT.

bool udt = 13;

Returns
TypeDescription
boolean

The udt.

hasCustomFeatures()

public abstract boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 14;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.