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

org.apache.lens.api.metastore
Class XPartitionList

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

public class XPartitionList
extends Object

LENS uses this type to return the list of all partitions. Should not be used by end-user directly.

Java class for x_partition_list complex type.

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

 <complexType name="x_partition_list">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="partition" type="{uri:lens:cube:0.1}x_partition" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XPartitionList()
           
 
Method Summary
 List<XPartition> getPartition()
          Gets the value of the partition property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPartitionList

public XPartitionList()
Method Detail

getPartition

public List<XPartition> getPartition()
Gets the value of the partition 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 partition property.

For example, to add a new item, do as follows:

    getPartition().add(newItem);
 

Objects of the following type(s) are allowed in the list XPartition



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