public class HiveDatasetDescriptor extends SqlDatasetDescriptor
SqlDatasetDescriptor.PlatformdatabaseName, SEPARATION_CHAR, tableName| Constructor and Description |
|---|
HiveDatasetDescriptor(com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isPathContaining(DatasetDescriptor other)
Check if the dbName and tableName specified in 's path are accepted by the set of dbName.tableName
combinations defined by the current
SqlDatasetDescriptor. |
protected boolean |
isPlatformValid() |
containsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getDescription, getFormatConfig, getPath, getPlatform, getRawConfig, isRetentionAppliedpublic HiveDatasetDescriptor(com.typesafe.config.Config config)
throws IOException
IOExceptionprotected boolean isPlatformValid()
isPlatformValid in class SqlDatasetDescriptorprotected boolean isPathContaining(DatasetDescriptor other)
SqlDatasetDescriptorSqlDatasetDescriptor. For example, let:
this.path = "test_.*;test_table_.*". Then:
isPathContaining("test_db1;test_table_1") = true
isPathContaining("testdb1;test_table_2") = false
NOTE: otherPath cannot be a globPattern. So:
isPathContaining("test_db.*;test_table_*") = falseisPathContaining in class SqlDatasetDescriptorother - whose path should be in the format of dbName.tableName