This project has retired. For details please refer to its Attic page.
XStorageTableDesc (Lens 2.0.1-beta-incubating API)

org.apache.lens.api.metastore
Class XStorageTableDesc

java.lang.Object
  extended by org.apache.lens.api.metastore.XStorageTableDesc

public class XStorageTableDesc
extends Object

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

XStorageTableDesc

public XStorageTableDesc()
Method Detail

getPartCols

public XColumns getPartCols()
Gets the value of the partCols property.

Returns:
possible object is XColumns

setPartCols

public void setPartCols(XColumns value)
Sets the value of the partCols property.

Parameters:
value - allowed object is XColumns

getTableParameters

public XProperties getTableParameters()
Gets the value of the tableParameters property.

Returns:
possible object is XProperties

setTableParameters

public void setTableParameters(XProperties value)
Sets the value of the tableParameters property.

Parameters:
value - allowed object is XProperties

getSerdeParameters

public XProperties getSerdeParameters()
Gets the value of the serdeParameters property.

Returns:
possible object is XProperties

setSerdeParameters

public void setSerdeParameters(XProperties value)
Sets the value of the serdeParameters property.

Parameters:
value - allowed object is XProperties

getBucketCols

public List<String> getBucketCols()
Gets the value of the bucketCols property.

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


getSortCols

public List<String> getSortCols()
Gets the value of the sortCols property.

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


getSortColOrder

public List<Integer> getSortColOrder()
Gets the value of the sortColOrder property.

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


getSkewedInfo

public XSkewedInfo getSkewedInfo()
Gets the value of the skewedInfo property.

Returns:
possible object is XSkewedInfo

setSkewedInfo

public void setSkewedInfo(XSkewedInfo value)
Sets the value of the skewedInfo property.

Parameters:
value - allowed object is XSkewedInfo

getTimePartCols

public List<String> getTimePartCols()
Gets the value of the timePartCols property.

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


isExternal

public boolean isExternal()
Gets the value of the external property.


setExternal

public void setExternal(boolean value)
Sets the value of the external property.


getTableLocation

public String getTableLocation()
Gets the value of the tableLocation property.

Returns:
possible object is String

setTableLocation

public void setTableLocation(String value)
Sets the value of the tableLocation property.

Parameters:
value - allowed object is String

getInputFormat

public String getInputFormat()
Gets the value of the inputFormat property.

Returns:
possible object is String

setInputFormat

public void setInputFormat(String value)
Sets the value of the inputFormat property.

Parameters:
value - allowed object is String

getOutputFormat

public String getOutputFormat()
Gets the value of the outputFormat property.

Returns:
possible object is String

setOutputFormat

public void setOutputFormat(String value)
Sets the value of the outputFormat property.

Parameters:
value - allowed object is String

getFieldDelimiter

public String getFieldDelimiter()
Gets the value of the fieldDelimiter property.

Returns:
possible object is String

setFieldDelimiter

public void setFieldDelimiter(String value)
Sets the value of the fieldDelimiter property.

Parameters:
value - allowed object is String

getEscapeChar

public String getEscapeChar()
Gets the value of the escapeChar property.

Returns:
possible object is String

setEscapeChar

public void setEscapeChar(String value)
Sets the value of the escapeChar property.

Parameters:
value - allowed object is String

getCollectionDelimiter

public String getCollectionDelimiter()
Gets the value of the collectionDelimiter property.

Returns:
possible object is String

setCollectionDelimiter

public void setCollectionDelimiter(String value)
Sets the value of the collectionDelimiter property.

Parameters:
value - allowed object is String

getLineDelimiter

public String getLineDelimiter()
Gets the value of the lineDelimiter property.

Returns:
possible object is String

setLineDelimiter

public void setLineDelimiter(String value)
Sets the value of the lineDelimiter property.

Parameters:
value - allowed object is String

getMapKeyDelimiter

public String getMapKeyDelimiter()
Gets the value of the mapKeyDelimiter property.

Returns:
possible object is String

setMapKeyDelimiter

public void setMapKeyDelimiter(String value)
Sets the value of the mapKeyDelimiter property.

Parameters:
value - allowed object is String

getSerdeClassName

public String getSerdeClassName()
Gets the value of the serdeClassName property.

Returns:
possible object is String

setSerdeClassName

public void setSerdeClassName(String value)
Sets the value of the serdeClassName property.

Parameters:
value - allowed object is String

getStorageHandlerName

public String getStorageHandlerName()
Gets the value of the storageHandlerName property.

Returns:
possible object is String

setStorageHandlerName

public void setStorageHandlerName(String value)
Sets the value of the storageHandlerName property.

Parameters:
value - allowed object is String

getNumBuckets

public Integer getNumBuckets()
Gets the value of the numBuckets property.

Returns:
possible object is Integer

setNumBuckets

public void setNumBuckets(Integer value)
Sets the value of the numBuckets property.

Parameters:
value - allowed object is Integer

isCompressed

public Boolean isCompressed()
Gets the value of the compressed property.

Returns:
possible object is Boolean

setCompressed

public void setCompressed(Boolean value)
Sets the value of the compressed property.

Parameters:
value - allowed object is Boolean


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.