org.apache.lens.api.metastore
Class XNativeTable

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

public class XNativeTable
extends Object

Native tables in metastore. Would never be created by client. This specification is used by the LENS API to. return this information to the end user.

Java class for x_native_table complex type.

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

 <complexType name="x_native_table">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="columns" type="{uri:lens:cube:0.1}x_columns"/>
         <element name="storage_descriptor" type="{uri:lens:cube:0.1}x_storage_table_desc"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dbname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="owner" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="table_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="createtime" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="lastAccessTime" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XNativeTable()
           
 
Method Summary
 XColumns getColumns()
          Gets the value of the columns property.
 int getCreatetime()
          Gets the value of the createtime property.
 String getDbname()
          Gets the value of the dbname property.
 int getLastAccessTime()
          Gets the value of the lastAccessTime property.
 String getName()
          Gets the value of the name property.
 String getOwner()
          Gets the value of the owner property.
 XStorageTableDesc getStorageDescriptor()
          Gets the value of the storageDescriptor property.
 String getTableType()
          Gets the value of the tableType property.
 void setColumns(XColumns value)
          Sets the value of the columns property.
 void setCreatetime(int value)
          Sets the value of the createtime property.
 void setDbname(String value)
          Sets the value of the dbname property.
 void setLastAccessTime(int value)
          Sets the value of the lastAccessTime property.
 void setName(String value)
          Sets the value of the name property.
 void setOwner(String value)
          Sets the value of the owner property.
 void setStorageDescriptor(XStorageTableDesc value)
          Sets the value of the storageDescriptor property.
 void setTableType(String value)
          Sets the value of the tableType property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XNativeTable

public XNativeTable()
Method Detail

getColumns

public XColumns getColumns()
Gets the value of the columns property.

Returns:
possible object is XColumns

setColumns

public void setColumns(XColumns value)
Sets the value of the columns property.

Parameters:
value - allowed object is XColumns

getStorageDescriptor

public XStorageTableDesc getStorageDescriptor()
Gets the value of the storageDescriptor property.

Returns:
possible object is XStorageTableDesc

setStorageDescriptor

public void setStorageDescriptor(XStorageTableDesc value)
Sets the value of the storageDescriptor property.

Parameters:
value - allowed object is XStorageTableDesc

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

getDbname

public String getDbname()
Gets the value of the dbname property.

Returns:
possible object is String

setDbname

public void setDbname(String value)
Sets the value of the dbname property.

Parameters:
value - allowed object is String

getOwner

public String getOwner()
Gets the value of the owner property.

Returns:
possible object is String

setOwner

public void setOwner(String value)
Sets the value of the owner property.

Parameters:
value - allowed object is String

getTableType

public String getTableType()
Gets the value of the tableType property.

Returns:
possible object is String

setTableType

public void setTableType(String value)
Sets the value of the tableType property.

Parameters:
value - allowed object is String

getCreatetime

public int getCreatetime()
Gets the value of the createtime property.


setCreatetime

public void setCreatetime(int value)
Sets the value of the createtime property.


getLastAccessTime

public int getLastAccessTime()
Gets the value of the lastAccessTime property.


setLastAccessTime

public void setLastAccessTime(int value)
Sets the value of the lastAccessTime property.



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