public class TableInfo extends Object
TableInfo.Builder
Modifier and Type | Class and Description |
---|---|
static class |
TableInfo.Builder
A builder for
TableInfo . |
static interface |
TableInfo.Provider
Provides
TableInfo . |
Constructor and Description |
---|
TableInfo(String name,
List<ColumnInfo> columns,
String comment,
RowFormatInfo rowFormat,
StorageFormatInfo storageFormat,
Map<String,String> properties)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<ColumnInfo> |
getColumns()
Returns the columns.
|
String |
getComment()
Returns the table comment.
|
String |
getName()
Returns the table name.
|
Map<String,String> |
getProperties()
Returns the table properties.
|
RowFormatInfo |
getRowFormat()
Returns the table row format.
|
StorageFormatInfo |
getStorageFormat()
Returns the table storage format.
|
int |
hashCode() |
String |
toString() |
public TableInfo(String name, List<ColumnInfo> columns, String comment, RowFormatInfo rowFormat, StorageFormatInfo storageFormat, Map<String,String> properties)
name
- the table namecolumns
- the fieldscomment
- the table comment (nullable)rowFormat
- the row format (nullable)storageFormat
- the storage format (nullable)properties
- the table properties (nullable)public String getName()
public List<ColumnInfo> getColumns()
public String getComment()
null
if it is not specifiedpublic RowFormatInfo getRowFormat()
null
if it is not specifiedpublic StorageFormatInfo getStorageFormat()
null
if it is not specifiedpublic Map<String,String> getProperties()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.