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 Stringdescribe()Create a human-readable short description of the tablebooleanequals(Object o)StringgetAdapterNotes()Gets adapter notes.List<ColumnMetadata>getColumns()Gets columns.StringgetComment()Gets comment.StringgetName()Gets name.booleanhasAdapterNote()Has adapter note boolean.booleanhasComment()Has comment boolean.inthashCode()StringtoString()
-
-
-
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
-
-