org.apache.lens.api.metastore
Class XPartition

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

public class XPartition
extends Object

Partition details

Java class for x_partition complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="x_partition">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="non_time_partition_spec" type="{uri:lens:cube:0.1}x_part_spec" minOccurs="0"/>
         <element name="time_partition_spec" type="{uri:lens:cube:0.1}x_time_part_spec" minOccurs="0"/>
         <element name="full_partition_spec" type="{uri:lens:cube:0.1}x_part_spec" minOccurs="0"/>
         <element name="partition_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"/>
       </sequence>
       <attribute name="fact_or_dimension_table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" />
       <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="serde_classname" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="update_period" type="{uri:lens:cube:0.1}x_update_period" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XPartition()
           
 
Method Summary
 String getFactOrDimensionTableName()
          Gets the value of the factOrDimensionTableName property.
 XPartSpec getFullPartitionSpec()
          Gets the value of the fullPartitionSpec property.
 String getInputFormat()
          Gets the value of the inputFormat property.
 String getLocation()
          Gets the value of the location property.
 String getName()
          Gets the value of the name property.
 XPartSpec getNonTimePartitionSpec()
          Gets the value of the nonTimePartitionSpec property.
 String getOutputFormat()
          Gets the value of the outputFormat property.
 XProperties getPartitionParameters()
          Gets the value of the partitionParameters property.
 String getSerdeClassname()
          Gets the value of the serdeClassname property.
 XProperties getSerdeParameters()
          Gets the value of the serdeParameters property.
 XTimePartSpec getTimePartitionSpec()
          Gets the value of the timePartitionSpec property.
 XUpdatePeriod getUpdatePeriod()
          Gets the value of the updatePeriod property.
 void setFactOrDimensionTableName(String value)
          Sets the value of the factOrDimensionTableName property.
 void setFullPartitionSpec(XPartSpec value)
          Sets the value of the fullPartitionSpec property.
 void setInputFormat(String value)
          Sets the value of the inputFormat property.
 void setLocation(String value)
          Sets the value of the location property.
 void setName(String value)
          Sets the value of the name property.
 void setNonTimePartitionSpec(XPartSpec value)
          Sets the value of the nonTimePartitionSpec property.
 void setOutputFormat(String value)
          Sets the value of the outputFormat property.
 void setPartitionParameters(XProperties value)
          Sets the value of the partitionParameters property.
 void setSerdeClassname(String value)
          Sets the value of the serdeClassname property.
 void setSerdeParameters(XProperties value)
          Sets the value of the serdeParameters property.
 void setTimePartitionSpec(XTimePartSpec value)
          Sets the value of the timePartitionSpec property.
 void setUpdatePeriod(XUpdatePeriod value)
          Sets the value of the updatePeriod property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPartition

public XPartition()
Method Detail

getNonTimePartitionSpec

public XPartSpec getNonTimePartitionSpec()
Gets the value of the nonTimePartitionSpec property.

Returns:
possible object is XPartSpec

setNonTimePartitionSpec

public void setNonTimePartitionSpec(XPartSpec value)
Sets the value of the nonTimePartitionSpec property.

Parameters:
value - allowed object is XPartSpec

getTimePartitionSpec

public XTimePartSpec getTimePartitionSpec()
Gets the value of the timePartitionSpec property.

Returns:
possible object is XTimePartSpec

setTimePartitionSpec

public void setTimePartitionSpec(XTimePartSpec value)
Sets the value of the timePartitionSpec property.

Parameters:
value - allowed object is XTimePartSpec

getFullPartitionSpec

public XPartSpec getFullPartitionSpec()
Gets the value of the fullPartitionSpec property.

Returns:
possible object is XPartSpec

setFullPartitionSpec

public void setFullPartitionSpec(XPartSpec value)
Sets the value of the fullPartitionSpec property.

Parameters:
value - allowed object is XPartSpec

getPartitionParameters

public XProperties getPartitionParameters()
Gets the value of the partitionParameters property.

Returns:
possible object is XProperties

setPartitionParameters

public void setPartitionParameters(XProperties value)
Sets the value of the partitionParameters 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

getFactOrDimensionTableName

public String getFactOrDimensionTableName()
Gets the value of the factOrDimensionTableName property.

Returns:
possible object is String

setFactOrDimensionTableName

public void setFactOrDimensionTableName(String value)
Sets the value of the factOrDimensionTableName property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getLocation

public String getLocation()
Gets the value of the location property.

Returns:
possible object is String

setLocation

public void setLocation(String value)
Sets the value of the location 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

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

getUpdatePeriod

public XUpdatePeriod getUpdatePeriod()
Gets the value of the updatePeriod property.

Returns:
possible object is XUpdatePeriod

setUpdatePeriod

public void setUpdatePeriod(XUpdatePeriod value)
Sets the value of the updatePeriod property.

Parameters:
value - allowed object is XUpdatePeriod


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