Package com.exasol.adapter.metadata
Class TableMetadata
- java.lang.Object
-
- com.exasol.adapter.metadata.TableMetadata
-
public class TableMetadata extends Object
Represents the metadata of an EXASOL table.
-
-
Constructor Summary
Constructors Constructor Description TableMetadata(String name, String adapterNotes, List<ColumnMetadata> columns, String comment)
Instantiates a new Table metadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
describe()
Create a human-readable short description of the tableboolean
equals(Object o)
String
getAdapterNotes()
Gets adapter notes.List<ColumnMetadata>
getColumns()
Gets columns.String
getComment()
Gets comment.String
getName()
Gets name.boolean
hasAdapterNote()
Has adapter note boolean.boolean
hasComment()
Has comment boolean.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
TableMetadata
public TableMetadata(String name, String adapterNotes, List<ColumnMetadata> columns, String comment)
Instantiates a new Table metadata.- Parameters:
name
- the nameadapterNotes
- the adapter notescolumns
- the columnscomment
- the comment
-
-
Method Detail
-
getName
public String getName()
Gets name.- Returns:
- the name
-
getAdapterNotes
public String getAdapterNotes()
Gets adapter notes.- Returns:
- the adapter notes
-
getColumns
public List<ColumnMetadata> getColumns()
Gets columns.- Returns:
- the columns
-
getComment
public String getComment()
Gets comment.- Returns:
- the comment
-
hasComment
public boolean hasComment()
Has comment boolean.- Returns:
- the boolean
-
hasAdapterNote
public boolean hasAdapterNote()
Has adapter note boolean.- Returns:
- the boolean
-
describe
public String describe()
Create a human-readable short description of the table- Returns:
- short description
-
-