Package org.apache.drill.exec.store.hive
Class HiveTableWrapper.StorageDescriptorWrapper
java.lang.Object
org.apache.drill.exec.store.hive.HiveTableWrapper.StorageDescriptorWrapper
- Enclosing class:
- HiveTableWrapper
Wrapper for
StorageDescriptor
class.
Used in HiveTableWrapper.HivePartitionWrapper
and HiveTableWrapper
for serialization and deserialization of StorageDescriptor
.-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
-
Constructor Summary
ConstructorDescriptionStorageDescriptorWrapper
(List<HiveTableWrapper.FieldSchemaWrapper> columns, String location, String inputFormat, String outputFormat, boolean compressed, int numBuckets, HiveTableWrapper.SerDeInfoWrapper serDeInfo, List<HiveTableWrapper.OrderWrapper> sortCols, Map<String, String> parameters) StorageDescriptorWrapper
(org.apache.hadoop.hive.metastore.api.StorageDescriptor storageDescriptor) -
Method Summary
-
Field Details
-
columns
-
location
-
inputFormat
-
outputFormat
-
compressed
public boolean compressed -
numBuckets
public int numBuckets -
serDeInfo
-
sortCols
-
parameters
-
-
Constructor Details
-
StorageDescriptorWrapper
public StorageDescriptorWrapper(List<HiveTableWrapper.FieldSchemaWrapper> columns, String location, String inputFormat, String outputFormat, boolean compressed, int numBuckets, HiveTableWrapper.SerDeInfoWrapper serDeInfo, List<HiveTableWrapper.OrderWrapper> sortCols, Map<String, String> parameters) -
StorageDescriptorWrapper
public StorageDescriptorWrapper(org.apache.hadoop.hive.metastore.api.StorageDescriptor storageDescriptor)
-
-
Method Details
-
getSd
public org.apache.hadoop.hive.metastore.api.StorageDescriptor getSd()
-