Class TableColumnDescriptorView
java.lang.Object
org.gridgain.internal.snapshots.meta.TableColumnDescriptorView
JSON view of a
CatalogTableColumnDescriptor.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJSON view of aDefaultValue.ConstantValue.static classJSON view of aDefaultValue.static classJSON view of aDefaultValue.FunctionCall. -
Constructor Summary
ConstructorsConstructorDescriptionTableColumnDescriptorView(String name, org.apache.ignite.sql.ColumnType type, boolean nullable, int length, int precision, int scale, @Nullable TableColumnDescriptorView.DefaultValueView defaultValue) JSON constructor. -
Method Summary
Modifier and TypeMethodDescriptionintlength()name()booleannullable()intintscale()org.apache.ignite.internal.schema.ColumntoColumn()Converts this view intoColumn.org.apache.ignite.internal.catalog.commands.ColumnParamsConverts this view intoColumnParamsto be used in Catalog commands.org.apache.ignite.sql.ColumnTypetype()
-
Constructor Details
-
TableColumnDescriptorView
public TableColumnDescriptorView(String name, org.apache.ignite.sql.ColumnType type, boolean nullable, int length, int precision, int scale, @Nullable @Nullable TableColumnDescriptorView.DefaultValueView defaultValue) JSON constructor.
-
-
Method Details
-
name
-
type
public org.apache.ignite.sql.ColumnType type() -
nullable
public boolean nullable() -
length
public int length() -
precision
public int precision() -
scale
public int scale() -
defaultValue
-
toColumnParams
public org.apache.ignite.internal.catalog.commands.ColumnParams toColumnParams()Converts this view intoColumnParamsto be used in Catalog commands. -
toColumn
public org.apache.ignite.internal.schema.Column toColumn()Converts this view intoColumn.
-