public class StorageFormat extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StorageFormat.StorageHandlerTypes |
| Constructor and Description |
|---|
StorageFormat(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillDefaultStorageFormat(boolean isExternal,
boolean isMaterializedView) |
boolean |
fillStorageFormat(ASTNode child)
Returns true if the passed token was a storage format token
and thus was processed accordingly.
|
static StorageFormatDescriptor |
getDescriptor(String format,
String clause) |
String |
getInputFormat() |
String |
getOutputFormat() |
String |
getSerde() |
Map<String,String> |
getSerdeProps() |
String |
getStorageHandler() |
void |
processStorageFormat(String name) |
void |
setSerde(String serde) |
void |
setStorageHandler(String storageHandlerClass) |
public boolean fillStorageFormat(ASTNode child) throws SemanticException
SemanticExceptionpublic void processStorageFormat(String name) throws SemanticException
SemanticExceptionpublic void fillDefaultStorageFormat(boolean isExternal,
boolean isMaterializedView)
throws SemanticException
SemanticExceptionpublic void setSerde(String serde)
public String getInputFormat()
public String getOutputFormat()
public String getStorageHandler()
public String getSerde()
public void setStorageHandler(String storageHandlerClass) throws SemanticException
SemanticExceptionpublic static StorageFormatDescriptor getDescriptor(String format, String clause) throws SemanticException
SemanticExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.