|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lens.api.metastore.XStorageTableDesc
public class XStorageTableDesc
The storage table description specifies the underlying format wrt how to read/write data. See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/TruncateTable
Java class for x_storage_table_desc complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="x_storage_table_desc">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="part_cols" type="{uri:lens:cube:0.1}x_columns" minOccurs="0"/>
<element name="table_parameters" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
<element name="serde_parameters" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
<element name="bucket_cols" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="sort_cols" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="sort_col_order" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
<element name="skewed_info" type="{uri:lens:cube:0.1}x_skewed_info"/>
<element name="time_part_cols" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="external" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="table_location" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="input_format" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="output_format" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="field_delimiter" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="escape_char" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="collection_delimiter" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="line_delimiter" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="map_key_delimiter" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="serde_class_name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="storage_handler_name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="num_buckets" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="compressed" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Constructor Summary | |
|---|---|
XStorageTableDesc()
|
|
| Method Summary | |
|---|---|
List<String> |
getBucketCols()
Gets the value of the bucketCols property. |
String |
getCollectionDelimiter()
Gets the value of the collectionDelimiter property. |
String |
getEscapeChar()
Gets the value of the escapeChar property. |
String |
getFieldDelimiter()
Gets the value of the fieldDelimiter property. |
String |
getInputFormat()
Gets the value of the inputFormat property. |
String |
getLineDelimiter()
Gets the value of the lineDelimiter property. |
String |
getMapKeyDelimiter()
Gets the value of the mapKeyDelimiter property. |
Integer |
getNumBuckets()
Gets the value of the numBuckets property. |
String |
getOutputFormat()
Gets the value of the outputFormat property. |
XColumns |
getPartCols()
Gets the value of the partCols property. |
String |
getSerdeClassName()
Gets the value of the serdeClassName property. |
XProperties |
getSerdeParameters()
Gets the value of the serdeParameters property. |
XSkewedInfo |
getSkewedInfo()
Gets the value of the skewedInfo property. |
List<Integer> |
getSortColOrder()
Gets the value of the sortColOrder property. |
List<String> |
getSortCols()
Gets the value of the sortCols property. |
String |
getStorageHandlerName()
Gets the value of the storageHandlerName property. |
String |
getTableLocation()
Gets the value of the tableLocation property. |
XProperties |
getTableParameters()
Gets the value of the tableParameters property. |
List<String> |
getTimePartCols()
Gets the value of the timePartCols property. |
Boolean |
isCompressed()
Gets the value of the compressed property. |
boolean |
isExternal()
Gets the value of the external property. |
void |
setCollectionDelimiter(String value)
Sets the value of the collectionDelimiter property. |
void |
setCompressed(Boolean value)
Sets the value of the compressed property. |
void |
setEscapeChar(String value)
Sets the value of the escapeChar property. |
void |
setExternal(boolean value)
Sets the value of the external property. |
void |
setFieldDelimiter(String value)
Sets the value of the fieldDelimiter property. |
void |
setInputFormat(String value)
Sets the value of the inputFormat property. |
void |
setLineDelimiter(String value)
Sets the value of the lineDelimiter property. |
void |
setMapKeyDelimiter(String value)
Sets the value of the mapKeyDelimiter property. |
void |
setNumBuckets(Integer value)
Sets the value of the numBuckets property. |
void |
setOutputFormat(String value)
Sets the value of the outputFormat property. |
void |
setPartCols(XColumns value)
Sets the value of the partCols property. |
void |
setSerdeClassName(String value)
Sets the value of the serdeClassName property. |
void |
setSerdeParameters(XProperties value)
Sets the value of the serdeParameters property. |
void |
setSkewedInfo(XSkewedInfo value)
Sets the value of the skewedInfo property. |
void |
setStorageHandlerName(String value)
Sets the value of the storageHandlerName property. |
void |
setTableLocation(String value)
Sets the value of the tableLocation property. |
void |
setTableParameters(XProperties value)
Sets the value of the tableParameters property. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XStorageTableDesc()
| Method Detail |
|---|
public XColumns getPartCols()
XColumnspublic void setPartCols(XColumns value)
value - allowed object is
XColumnspublic XProperties getTableParameters()
XPropertiespublic void setTableParameters(XProperties value)
value - allowed object is
XPropertiespublic XProperties getSerdeParameters()
XPropertiespublic void setSerdeParameters(XProperties value)
value - allowed object is
XPropertiespublic List<String> getBucketCols()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the bucketCols property.
For example, to add a new item, do as follows:
getBucketCols().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getSortCols()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the sortCols property.
For example, to add a new item, do as follows:
getSortCols().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<Integer> getSortColOrder()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the sortColOrder property.
For example, to add a new item, do as follows:
getSortColOrder().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
public XSkewedInfo getSkewedInfo()
XSkewedInfopublic void setSkewedInfo(XSkewedInfo value)
value - allowed object is
XSkewedInfopublic List<String> getTimePartCols()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the timePartCols property.
For example, to add a new item, do as follows:
getTimePartCols().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isExternal()
public void setExternal(boolean value)
public String getTableLocation()
Stringpublic void setTableLocation(String value)
value - allowed object is
Stringpublic String getInputFormat()
Stringpublic void setInputFormat(String value)
value - allowed object is
Stringpublic String getOutputFormat()
Stringpublic void setOutputFormat(String value)
value - allowed object is
Stringpublic String getFieldDelimiter()
Stringpublic void setFieldDelimiter(String value)
value - allowed object is
Stringpublic String getEscapeChar()
Stringpublic void setEscapeChar(String value)
value - allowed object is
Stringpublic String getCollectionDelimiter()
Stringpublic void setCollectionDelimiter(String value)
value - allowed object is
Stringpublic String getLineDelimiter()
Stringpublic void setLineDelimiter(String value)
value - allowed object is
Stringpublic String getMapKeyDelimiter()
Stringpublic void setMapKeyDelimiter(String value)
value - allowed object is
Stringpublic String getSerdeClassName()
Stringpublic void setSerdeClassName(String value)
value - allowed object is
Stringpublic String getStorageHandlerName()
Stringpublic void setStorageHandlerName(String value)
value - allowed object is
Stringpublic Integer getNumBuckets()
Integerpublic void setNumBuckets(Integer value)
value - allowed object is
Integerpublic Boolean isCompressed()
Booleanpublic void setCompressed(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||