@InterfaceAudience.Public @InterfaceStability.Evolving public class ColumnSchema extends Object
ColumnSchema.ColumnSchemaBuilder
in order to
create columns.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
org.apache.kudu.ColumnSchema.CompressionAlgorithm |
getCompressionAlgorithm()
Return the compression algorithm of this column, or null if it is not known.
|
Object |
getDefaultValue()
The Java object representation of the default value that's read
|
int |
getDesiredBlockSize()
Gets the desired block size for this column.
|
org.apache.kudu.ColumnSchema.Encoding |
getEncoding()
Return the encoding of this column, or null if it is not known.
|
String |
getName()
Get the column's name
|
Type |
getType()
Get the column's Type
|
int |
hashCode() |
boolean |
isKey()
Answers if the column part of the key
|
boolean |
isNullable()
Answers if the column can be set to null
|
String |
toString() |
public Type getType()
public String getName()
public boolean isKey()
public boolean isNullable()
public Object getDefaultValue()
public int getDesiredBlockSize()
public org.apache.kudu.ColumnSchema.Encoding getEncoding()
public org.apache.kudu.ColumnSchema.CompressionAlgorithm getCompressionAlgorithm()
Copyright © 2016 The Apache Software Foundation. All rights reserved.