public final class TableSegment extends Object implements SQLSegment, TableAvailable, OwnerAvailable<SchemaSegment>, AliasAvailable
| Constructor and Description |
|---|
TableSegment(int startIndex,
int stopIndex,
String name) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<String> |
getAlias()
Get alias.
|
com.google.common.base.Optional<SchemaSegment> |
getOwner()
Get owner.
|
int |
getStartIndex()
Get start index.
|
String |
getTableName()
Get table name.
|
QuoteCharacter |
getTableQuoteCharacter()
Get table quote character.
|
void |
setAlias(String alias)
Set alias.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOwnergetStopIndexpublic TableSegment(int startIndex,
int stopIndex,
String name)
public int getStartIndex()
SQLSegmentgetStartIndex in interface SQLSegmentpublic String getTableName()
TableAvailablegetTableName in interface TableAvailablepublic QuoteCharacter getTableQuoteCharacter()
TableAvailablegetTableQuoteCharacter in interface TableAvailablepublic com.google.common.base.Optional<SchemaSegment> getOwner()
OwnerAvailablegetOwner in interface OwnerAvailable<SchemaSegment>public com.google.common.base.Optional<String> getAlias()
AliasAvailablegetAlias in interface AliasAvailablepublic void setAlias(String alias)
AliasAvailablesetAlias in interface AliasAvailablealias - aliasCopyright © 2020 The Apache Software Foundation. All rights reserved.