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

org.apache.lens.api.metastore
Class XTimePartSpecElement

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

public class XTimePartSpecElement
extends Object

Time partition column name and its value as date-time.

Java class for x_time_part_spec_element complex type.

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

 <complexType name="x_time_part_spec_element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XTimePartSpecElement()
           
 
Method Summary
 String getKey()
          Gets the value of the key property.
 XMLGregorianCalendar getValue()
          Gets the value of the value property.
 void setKey(String value)
          Sets the value of the key property.
 void setValue(XMLGregorianCalendar value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTimePartSpecElement

public XTimePartSpecElement()
Method Detail

getKey

public String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

public void setKey(String value)
Sets the value of the key property.

Parameters:
value - allowed object is String

getValue

public XMLGregorianCalendar getValue()
Gets the value of the value property.

Returns:
possible object is XMLGregorianCalendar

setValue

public void setValue(XMLGregorianCalendar value)
Sets the value of the value property.

Parameters:
value - allowed object is XMLGregorianCalendar


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