Package io.prestosql.metadata
Class QualifiedTablePrefix
- java.lang.Object
-
- io.prestosql.metadata.QualifiedTablePrefix
-
@Immutable public class QualifiedTablePrefix extends Object
-
-
Constructor Summary
Constructors Constructor Description QualifiedTablePrefix(String catalogName)
QualifiedTablePrefix(String catalogName, String schemaName)
QualifiedTablePrefix(String catalogName, String schemaName, String tableName)
QualifiedTablePrefix(String catalogName, Optional<String> schemaName, Optional<String> tableName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<QualifiedObjectName>
asQualifiedObjectName()
SchemaTablePrefix
asSchemaTablePrefix()
boolean
equals(Object obj)
String
getCatalogName()
Optional<String>
getSchemaName()
Optional<String>
getTableName()
int
hashCode()
boolean
hasSchemaName()
boolean
hasTableName()
boolean
matches(QualifiedObjectName objectName)
String
toString()
-
-
-
Method Detail
-
getCatalogName
public String getCatalogName()
-
hasSchemaName
public boolean hasSchemaName()
-
hasTableName
public boolean hasTableName()
-
asSchemaTablePrefix
public SchemaTablePrefix asSchemaTablePrefix()
-
asQualifiedObjectName
public Optional<QualifiedObjectName> asQualifiedObjectName()
-
matches
public boolean matches(QualifiedObjectName objectName)
-
-