This project has retired. For details please refer to its Attic page.
Lens Server: Data Types

Data Types

JSON

type description
APIResult Instantiates a new API result.
Action Action enum that denotes the operation performed
DateTime Instantiates a new date.
FailedAttempt Instantiates a new query status.
FieldNameAndValue
LensAPIResult Transport object for results returned by Lens APIs DATA represents type of data in success result.
LensConf Instantiates a new lens conf.
LensErrorTO
LensPreparedQuery Instantiates a new lens prepared query.
LensQuery Instantiates a new lens query.
LensSessionHandle Instantiates a new lens session handle.
ListResponse Response of savedqueries list API.
MapType A type to represent key, value pairs.

Java class for map_type complex type.

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

 <complexType name="map_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="key" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Parameter The class Parameter.
ParameterCollectionType The enum ParameterCollectionType Collection type of a parameter has to be chosen based on its context. - If it is occurring next to an IN/NOT IN clause, its multiple - If it is found with EQ/NEQ..>,<,>=,<=,like etc, its single
ParameterDataType The enum ParameterDataType Should be given based on the column data type.
ParameterParserResponse Response of parsing a parameterised HQL query
Priority The Enum Priority.
QueryHandle Instantiates a new query handle.
QueryPrepareHandle Instantiates a new query prepare handle.
QueryResult The Class QueryResult.
QueryResultSetMetadata Instantiates a new query result set metadata.
QueryStatus Instantiates a new query status.
QuerySubmitResult The Class QuerySubmitResult.
ResourceModifiedResponse The response of CRUD action on resource.
ResourcePath A resource path with file name and type

Java class for resource_path complex type.

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

 <complexType name="resource_path">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
ResultColumn Instantiates a new result column.
ResultColumnType The Enum ResultColumnType.
SavedQuery The class representing the saved query
SchedulerJobHandle Handle for SchedulerJob.
SchedulerJobInfo POJO to represent the job table in the database.
SchedulerJobInstanceHandle Handle for SchedulerJobInstance
SchedulerJobInstanceInfo POJO for an instance of SchedulerJob.
SchedulerJobInstanceRun
SchedulerJobInstanceState
SchedulerJobState
SchedulerJobStats
Status API Result status.
Status The Enum Status.
StringList Instantiates a new string list.
ToXMLString
ToYAMLString
UserSessionInfo
XChainColumn

Java class for x_chain_column complex type.

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

 <complexType name="x_chain_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="chain_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ref_col" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XColumn Column in table.

Java class for x_column complex type.

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

 <complexType name="x_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XColumns

Java class for x_columns complex type.

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

 <complexType name="x_columns">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="column" type="{uri:lens:cube:0.1}x_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XCube XCube can either be a Base cube for which the user would give the full specification of the measures and dimensions or can be a Derived cube, for which the user would specify only the measure names, dimension names and parent. Derived cube can have subset of measure names and dimension names associated with its parent. It can have different properties associated with it than the parent.

Java class for x_cube complex type.

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

 <complexType name="x_cube">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XDimAttribute A dim attribute.

Java class for x_dim_attribute complex type.

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

 <complexType name="x_dim_attribute">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="chain_ref_column" type="{uri:lens:cube:0.1}x_chain_column" maxOccurs="unbounded" minOccurs="0"/>
         <element name="hierarchy" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
         <element name="values" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="_type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="num_distinct_values" type="{http://www.w3.org/2001/XMLSchema}long" />
     </extension>
   </complexContent>
 </complexType>
 
XDimAttributes Set of dim attributes.

Java class for x_dim_attributes complex type.

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

 <complexType name="x_dim_attributes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dim_attribute" type="{uri:lens:cube:0.1}x_dim_attribute" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XDimension XDimension consists of set of attributes, expressions, join-chains

Java class for x_dimension complex type.

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

 <complexType name="x_dimension">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="attributes" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
         <element name="expressions" type="{uri:lens:cube:0.1}x_expressions" minOccurs="0"/>
         <element name="join_chains" type="{uri:lens:cube:0.1}x_join_chains" minOccurs="0"/>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XDimensionTable DimensionTable which belongs to a Dimension. The columns in the dimension table will be a subset of all fields in Dimension.

Java class for x_dimension_table complex type.

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

 <complexType name="x_dimension_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="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="storage_tables" type="{uri:lens:cube:0.1}x_storage_tables" minOccurs="0"/>
       </sequence>
       <attribute name="dimension_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
XExecution Task which has to be scheduled. Currently only query is supported.

Java class for x_execution complex type.

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

 <complexType name="x_execution">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="session" type="{uri:lens:job:0.1}x_session_type"/>
         <choice>
           <element name="query" type="{uri:lens:job:0.1}x_job_query"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XExprColumn An expression column

Java class for x_expr_column complex type.

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

 <complexType name="x_expr_column">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="expr_spec" type="{uri:lens:cube:0.1}x_expr_spec" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
XExprSpec Specification of single expression. Specification consists of required expression field, and optional start and end times associated with expression. Expression is valid between start time and end time, if both are specified. If only start_time is specified, is valid from start_time to till date. If only end_time is specified, is valid upto date specified, from any time. If no start time, end time are specified, the expression is always valid.

Java class for x_expr_spec complex type.

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

 <complexType name="x_expr_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="expr" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
XExpressions Set of expressions.

Java class for x_expressions complex type.

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

 <complexType name="x_expressions">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="expression" type="{uri:lens:cube:0.1}x_expr_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XFact XFact can either be a Cube Fact for which the user would give the full specification of the columns and storages or can be a Virtual fact, for which the user would specify only the Source fact and filters if any. Virtual fact derives its columns and storage specific details all from the source Fact. It can however have different properties associated with it than the source.

Java class for x_fact complex type.

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

 <complexType name="x_fact">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XField some documentation

Java class for x_field complex type.

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

 <complexType name="x_field">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tags" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XFlattenedColumn

Java class for x_flattened_column complex type.

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

 <complexType name="x_flattened_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="measure" type="{uri:lens:cube:0.1}x_measure"/>
         <element name="expression" type="{uri:lens:cube:0.1}x_expr_column"/>
         <element name="dim_attribute" type="{uri:lens:cube:0.1}x_dim_attribute"/>
       </choice>
       <attribute name="table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="chain_name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XFlattenedColumns LENS will use this type to return all flattened columns reachable from a cube or dimension. This type is not expected to be created by end-users directly.

Java class for x_flattened_columns complex type.

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

 <complexType name="x_flattened_columns">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="flattened_column" type="{uri:lens:cube:0.1}x_flattened_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XFrequency Frequency of schedule. Frequency can either be 1) an enum from (DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY) 2) a cron_expression

Java class for x_frequency complex type.

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

 <complexType name="x_frequency">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="enum" type="{uri:lens:job:0.1}x_frequency_enum"/>
         <element name="cron_expression" type="{uri:lens:job:0.1}x_cron_expression"/>
       </choice>
       <attribute name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XFrequencyEnum

Java class for x_frequency_enum.

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

 <simpleType name="x_frequency_enum">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="DAILY"/>
     <enumeration value="WEEKLY"/>
     <enumeration value="MONTHLY"/>
     <enumeration value="QUARTERLY"/>
     <enumeration value="YEARLY"/>
   </restriction>
 </simpleType>
 
XJob XJob represents a job that can be scheduled on lens.

Java class for x_job complex type.

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

 <complexType name="x_job">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="execution" type="{uri:lens:job:0.1}x_execution"/>
         <element name="trigger" type="{uri:lens:job:0.1}x_trigger"/>
         <element name="job_conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJobQuery A query which is executed in each run of the job.

Java class for x_job_query complex type.

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

 <complexType name="x_job_query">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="query" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinChain Join chain represents the paths to reach a dimension. For example, to reach Country from SalesCube, there can be the following equivalent paths: SalesCube.deliveryStateid -> State.id, State.countryid -> Country.id SalesCube.deliveryCityid -> City.id, City.stateid -> State.id, State.countryid ->Country.id Both the above paths will be associated with same join chain i.e with same name, if they are equivalent and at runtime, LENS will choose the path to use. If the paths are not equivalent, they should be named differently. SalesCube.productionStateid -> State.id, State.countryid ->Country.id will be named differently.

Java class for x_join_chain complex type.

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

 <complexType name="x_join_chain">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="paths" type="{uri:lens:cube:0.1}x_join_paths"/>
       </sequence>
       <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
XJoinChains Set of join chains.

Java class for x_join_chains complex type.

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

 <complexType name="x_join_chains">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="join_chain" type="{uri:lens:cube:0.1}x_join_chain" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinEdge Represents an edge associated with join path.

Java class for x_join_edge complex type.

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

 <complexType name="x_join_edge">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="from" type="{uri:lens:cube:0.1}x_table_reference"/>
         <element name="to" type="{uri:lens:cube:0.1}x_table_reference"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinEdges Sequence of join edges.

Java class for x_join_edges complex type.

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

 <complexType name="x_join_edges">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="edge" type="{uri:lens:cube:0.1}x_join_edge" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinPath Represents a path associated with chain.

Java class for x_join_path complex type.

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

 <complexType name="x_join_path">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="edges" type="{uri:lens:cube:0.1}x_join_edges"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinPaths Set of join paths.

Java class for x_join_paths complex type.

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

 <complexType name="x_join_paths">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="path" type="{uri:lens:cube:0.1}x_join_path" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XMeasure A cube measure.

Java class for x_measure complex type.

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

 <complexType name="x_measure">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <attribute name="_type" use="required" type="{uri:lens:cube:0.1}x_measure_type" />
       <attribute name="default_aggr" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="format_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" />
     </extension>
   </complexContent>
 </complexType>
 
XMeasureType

Java class for x_measure_type.

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

 <simpleType name="x_measure_type">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="TINYINT"/>
     <enumeration value="SMALLINT"/>
     <enumeration value="INT"/>
     <enumeration value="BIGINT"/>
     <enumeration value="FLOAT"/>
     <enumeration value="DOUBLE"/>
     <enumeration value="DECIMAL"/>
   </restriction>
 </simpleType>
 
XNativeTable 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" 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>
 
XPartSpec

Java class for x_part_spec complex type.

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

 <complexType name="x_part_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="part_spec_element" type="{uri:lens:cube:0.1}x_part_spec_element" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XPartSpecElement Partition column name and its value.

Java class for x_part_spec_element complex type.

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

 <complexType name="x_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}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XPartition 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>
 
XPartitionList Compact data structure for storing List of partitions.

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>
 
XProperties A list of property elements.

Java class for x_properties complex type.

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

 <complexType name="x_properties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" type="{uri:lens:cube:0.1}x_property" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XProperty A key-value pair for storing property's name and its value.

Java class for x_property complex type.

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

 <complexType name="x_property">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XSegment Segment belong to the segmentation

Java class for x_segment complex type.

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

 <complexType name="x_segment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="segment_parameters" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XSegmentation Segmentation is associated to a base cube and consists of two or more segments. All segments together make segmentation complete.

Java class for x_segmentation complex type.

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

 <complexType name="x_segmentation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="segements" type="{uri:lens:cube:0.1}x_segments" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
XSegments Segments in segmentation. There can be two or more such segments.

Java class for x_segments complex type.

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

 <complexType name="x_segments">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="segment" type="{uri:lens:cube:0.1}x_segment" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSessionType

Java class for x_session_type complex type.

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

 <complexType name="x_session_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="db" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="resource_path" type="{uri:lens:job:0.1}resource_path" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSkewColList Skew column list.

Java class for x_skew_col_list complex type.

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

 <complexType name="x_skew_col_list">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="elements" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSkewedInfo Table skew info.

Java class for x_skewed_info complex type.

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

 <complexType name="x_skewed_info">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="col_names" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="col_values" type="{uri:lens:cube:0.1}x_skew_col_list" maxOccurs="unbounded" minOccurs="0"/>
         <element name="value_location_map" type="{uri:lens:cube:0.1}x_skewed_value_location" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSkewedValueLocation Map of the list of values to location.

Java class for x_skewed_value_location complex type.

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

 <complexType name="x_skewed_value_location">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="value" type="{uri:lens:cube:0.1}x_skew_col_list"/>
       </sequence>
       <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XStorage The storage specified by name, which would represent the underlying storage of data.

Java class for x_storage complex type.

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

 <complexType name="x_storage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XStorageTableDesc 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" maxOccurs="unbounded" minOccurs="0"/>
         <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>
 
XStorageTableElement Storage and storage table description and update periods. table_desc is invalid when update_periods has a list of update_period_table_descriptor instead of a list of enums.

Java class for x_storage_table_element complex type.

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

 <complexType name="x_storage_table_element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="update_periods" type="{uri:lens:cube:0.1}x_update_periods" minOccurs="0"/>
         <element name="storage_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="table_desc" type="{uri:lens:cube:0.1}x_storage_table_desc" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
XStorageTables Storage table elements describing the storage name, its update periods and table description.

Java class for x_storage_tables complex type.

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

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

Java class for x_table_reference complex type.

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

 <complexType name="x_table_reference">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="table" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="maps_to_many" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
XTimePartSpec

Java class for x_time_part_spec complex type.

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

 <complexType name="x_time_part_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="part_spec_element" type="{uri:lens:cube:0.1}x_time_part_spec_element" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XTimePartSpecElement 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>
 
XTrigger Trigger is the gating condition for an instance of job to be launched. Currently only time based triggers are supported.

Java class for x_trigger complex type.

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

 <complexType name="x_trigger">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="frequency" type="{uri:lens:job:0.1}x_frequency"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
XUpdatePeriod

Java class for x_update_period.

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

 <simpleType name="x_update_period">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="CONTINUOUS"/>
     <enumeration value="SECONDLY"/>
     <enumeration value="MINUTELY"/>
     <enumeration value="HOURLY"/>
     <enumeration value="DAILY"/>
     <enumeration value="WEEKLY"/>
     <enumeration value="MONTHLY"/>
     <enumeration value="QUARTERLY"/>
     <enumeration value="YEARLY"/>
   </restriction>
 </simpleType>
 
XUpdatePeriodTableDescriptor An update period descriptor keeps an enum of update period and a storage table descriptor.

Java class for x_update_period_table_descriptor complex type.

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

 <complexType name="x_update_period_table_descriptor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="update_period" type="{uri:lens:cube:0.1}x_update_period"/>
         <element name="table_desc" type="{uri:lens:cube:0.1}x_storage_table_desc"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XUpdatePeriods A list of update_period which contains either update period table descriptor or list of update_peroid enum.

Java class for x_update_periods complex type.

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

 <complexType name="x_update_periods">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice minOccurs="0">
         <element name="update_period_table_descriptor" type="{uri:lens:cube:0.1}x_update_period_table_descriptor" maxOccurs="unbounded" minOccurs="0"/>
         <element name="update_period" type="{uri:lens:cube:0.1}x_update_period" maxOccurs="unbounded" minOccurs="0"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 

JSON

type description
APIResult Instantiates a new API result.
Action Action enum that denotes the operation performed
DateTime Instantiates a new date.
FailedAttempt Instantiates a new query status.
FieldNameAndValue
LensAPIResult Transport object for results returned by Lens APIs DATA represents type of data in success result.
LensConf Instantiates a new lens conf.
LensErrorTO
LensPreparedQuery Instantiates a new lens prepared query.
LensQuery Instantiates a new lens query.
LensSessionHandle Instantiates a new lens session handle.
ListResponse Response of savedqueries list API.
MapType A type to represent key, value pairs.

Java class for map_type complex type.

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

 <complexType name="map_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="key" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Parameter The class Parameter.
ParameterCollectionType The enum ParameterCollectionType Collection type of a parameter has to be chosen based on its context. - If it is occurring next to an IN/NOT IN clause, its multiple - If it is found with EQ/NEQ..>,<,>=,<=,like etc, its single
ParameterDataType The enum ParameterDataType Should be given based on the column data type.
ParameterParserResponse Response of parsing a parameterised HQL query
Priority The Enum Priority.
QueryHandle Instantiates a new query handle.
QueryPrepareHandle Instantiates a new query prepare handle.
QueryResult The Class QueryResult.
QueryResultSetMetadata Instantiates a new query result set metadata.
QueryStatus Instantiates a new query status.
QuerySubmitResult The Class QuerySubmitResult.
ResourceModifiedResponse The response of CRUD action on resource.
ResourcePath A resource path with file name and type

Java class for resource_path complex type.

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

 <complexType name="resource_path">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
ResultColumn Instantiates a new result column.
ResultColumnType The Enum ResultColumnType.
SavedQuery The class representing the saved query
SchedulerJobHandle Handle for SchedulerJob.
SchedulerJobInfo POJO to represent the job table in the database.
SchedulerJobInstanceHandle Handle for SchedulerJobInstance
SchedulerJobInstanceInfo POJO for an instance of SchedulerJob.
SchedulerJobInstanceRun
SchedulerJobInstanceState
SchedulerJobState
SchedulerJobStats
Status API Result status.
Status The Enum Status.
StringList Instantiates a new string list.
ToXMLString
ToYAMLString
UserSessionInfo
XChainColumn

Java class for x_chain_column complex type.

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

 <complexType name="x_chain_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="chain_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ref_col" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XColumn Column in table.

Java class for x_column complex type.

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

 <complexType name="x_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XColumns

Java class for x_columns complex type.

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

 <complexType name="x_columns">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="column" type="{uri:lens:cube:0.1}x_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XCube XCube can either be a Base cube for which the user would give the full specification of the measures and dimensions or can be a Derived cube, for which the user would specify only the measure names, dimension names and parent. Derived cube can have subset of measure names and dimension names associated with its parent. It can have different properties associated with it than the parent.

Java class for x_cube complex type.

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

 <complexType name="x_cube">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XDimAttribute A dim attribute.

Java class for x_dim_attribute complex type.

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

 <complexType name="x_dim_attribute">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="chain_ref_column" type="{uri:lens:cube:0.1}x_chain_column" maxOccurs="unbounded" minOccurs="0"/>
         <element name="hierarchy" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
         <element name="values" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="_type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="num_distinct_values" type="{http://www.w3.org/2001/XMLSchema}long" />
     </extension>
   </complexContent>
 </complexType>
 
XDimAttributes Set of dim attributes.

Java class for x_dim_attributes complex type.

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

 <complexType name="x_dim_attributes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dim_attribute" type="{uri:lens:cube:0.1}x_dim_attribute" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XDimension XDimension consists of set of attributes, expressions, join-chains

Java class for x_dimension complex type.

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

 <complexType name="x_dimension">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="attributes" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
         <element name="expressions" type="{uri:lens:cube:0.1}x_expressions" minOccurs="0"/>
         <element name="join_chains" type="{uri:lens:cube:0.1}x_join_chains" minOccurs="0"/>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XDimensionTable DimensionTable which belongs to a Dimension. The columns in the dimension table will be a subset of all fields in Dimension.

Java class for x_dimension_table complex type.

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

 <complexType name="x_dimension_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="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="storage_tables" type="{uri:lens:cube:0.1}x_storage_tables" minOccurs="0"/>
       </sequence>
       <attribute name="dimension_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
XExecution Task which has to be scheduled. Currently only query is supported.

Java class for x_execution complex type.

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

 <complexType name="x_execution">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="session" type="{uri:lens:job:0.1}x_session_type"/>
         <choice>
           <element name="query" type="{uri:lens:job:0.1}x_job_query"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XExprColumn An expression column

Java class for x_expr_column complex type.

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

 <complexType name="x_expr_column">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="expr_spec" type="{uri:lens:cube:0.1}x_expr_spec" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
XExprSpec Specification of single expression. Specification consists of required expression field, and optional start and end times associated with expression. Expression is valid between start time and end time, if both are specified. If only start_time is specified, is valid from start_time to till date. If only end_time is specified, is valid upto date specified, from any time. If no start time, end time are specified, the expression is always valid.

Java class for x_expr_spec complex type.

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

 <complexType name="x_expr_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="expr" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
XExpressions Set of expressions.

Java class for x_expressions complex type.

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

 <complexType name="x_expressions">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="expression" type="{uri:lens:cube:0.1}x_expr_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XFact XFact can either be a Cube Fact for which the user would give the full specification of the columns and storages or can be a Virtual fact, for which the user would specify only the Source fact and filters if any. Virtual fact derives its columns and storage specific details all from the source Fact. It can however have different properties associated with it than the source.

Java class for x_fact complex type.

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

 <complexType name="x_fact">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XField some documentation

Java class for x_field complex type.

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

 <complexType name="x_field">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tags" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XFlattenedColumn

Java class for x_flattened_column complex type.

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

 <complexType name="x_flattened_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="measure" type="{uri:lens:cube:0.1}x_measure"/>
         <element name="expression" type="{uri:lens:cube:0.1}x_expr_column"/>
         <element name="dim_attribute" type="{uri:lens:cube:0.1}x_dim_attribute"/>
       </choice>
       <attribute name="table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="chain_name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XFlattenedColumns LENS will use this type to return all flattened columns reachable from a cube or dimension. This type is not expected to be created by end-users directly.

Java class for x_flattened_columns complex type.

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

 <complexType name="x_flattened_columns">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="flattened_column" type="{uri:lens:cube:0.1}x_flattened_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XFrequency Frequency of schedule. Frequency can either be 1) an enum from (DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY) 2) a cron_expression

Java class for x_frequency complex type.

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

 <complexType name="x_frequency">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="enum" type="{uri:lens:job:0.1}x_frequency_enum"/>
         <element name="cron_expression" type="{uri:lens:job:0.1}x_cron_expression"/>
       </choice>
       <attribute name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XFrequencyEnum

Java class for x_frequency_enum.

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

 <simpleType name="x_frequency_enum">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="DAILY"/>
     <enumeration value="WEEKLY"/>
     <enumeration value="MONTHLY"/>
     <enumeration value="QUARTERLY"/>
     <enumeration value="YEARLY"/>
   </restriction>
 </simpleType>
 
XJob XJob represents a job that can be scheduled on lens.

Java class for x_job complex type.

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

 <complexType name="x_job">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="execution" type="{uri:lens:job:0.1}x_execution"/>
         <element name="trigger" type="{uri:lens:job:0.1}x_trigger"/>
         <element name="job_conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJobQuery A query which is executed in each run of the job.

Java class for x_job_query complex type.

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

 <complexType name="x_job_query">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="query" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinChain Join chain represents the paths to reach a dimension. For example, to reach Country from SalesCube, there can be the following equivalent paths: SalesCube.deliveryStateid -> State.id, State.countryid -> Country.id SalesCube.deliveryCityid -> City.id, City.stateid -> State.id, State.countryid ->Country.id Both the above paths will be associated with same join chain i.e with same name, if they are equivalent and at runtime, LENS will choose the path to use. If the paths are not equivalent, they should be named differently. SalesCube.productionStateid -> State.id, State.countryid ->Country.id will be named differently.

Java class for x_join_chain complex type.

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

 <complexType name="x_join_chain">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="paths" type="{uri:lens:cube:0.1}x_join_paths"/>
       </sequence>
       <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
XJoinChains Set of join chains.

Java class for x_join_chains complex type.

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

 <complexType name="x_join_chains">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="join_chain" type="{uri:lens:cube:0.1}x_join_chain" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinEdge Represents an edge associated with join path.

Java class for x_join_edge complex type.

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

 <complexType name="x_join_edge">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="from" type="{uri:lens:cube:0.1}x_table_reference"/>
         <element name="to" type="{uri:lens:cube:0.1}x_table_reference"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinEdges Sequence of join edges.

Java class for x_join_edges complex type.

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

 <complexType name="x_join_edges">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="edge" type="{uri:lens:cube:0.1}x_join_edge" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinPath Represents a path associated with chain.

Java class for x_join_path complex type.

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

 <complexType name="x_join_path">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="edges" type="{uri:lens:cube:0.1}x_join_edges"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XJoinPaths Set of join paths.

Java class for x_join_paths complex type.

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

 <complexType name="x_join_paths">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="path" type="{uri:lens:cube:0.1}x_join_path" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XMeasure A cube measure.

Java class for x_measure complex type.

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

 <complexType name="x_measure">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <attribute name="_type" use="required" type="{uri:lens:cube:0.1}x_measure_type" />
       <attribute name="default_aggr" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="format_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" />
     </extension>
   </complexContent>
 </complexType>
 
XMeasureType

Java class for x_measure_type.

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

 <simpleType name="x_measure_type">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="TINYINT"/>
     <enumeration value="SMALLINT"/>
     <enumeration value="INT"/>
     <enumeration value="BIGINT"/>
     <enumeration value="FLOAT"/>
     <enumeration value="DOUBLE"/>
     <enumeration value="DECIMAL"/>
   </restriction>
 </simpleType>
 
XNativeTable 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" 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>
 
XPartSpec

Java class for x_part_spec complex type.

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

 <complexType name="x_part_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="part_spec_element" type="{uri:lens:cube:0.1}x_part_spec_element" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XPartSpecElement Partition column name and its value.

Java class for x_part_spec_element complex type.

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

 <complexType name="x_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}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XPartition 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>
 
XPartitionList Compact data structure for storing List of partitions.

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>
 
XProperties A list of property elements.

Java class for x_properties complex type.

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

 <complexType name="x_properties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" type="{uri:lens:cube:0.1}x_property" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XProperty A key-value pair for storing property's name and its value.

Java class for x_property complex type.

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

 <complexType name="x_property">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XSegment Segment belong to the segmentation

Java class for x_segment complex type.

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

 <complexType name="x_segment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="segment_parameters" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XSegmentation Segmentation is associated to a base cube and consists of two or more segments. All segments together make segmentation complete.

Java class for x_segmentation complex type.

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

 <complexType name="x_segmentation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="segements" type="{uri:lens:cube:0.1}x_segments" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
XSegments Segments in segmentation. There can be two or more such segments.

Java class for x_segments complex type.

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

 <complexType name="x_segments">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="segment" type="{uri:lens:cube:0.1}x_segment" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSessionType

Java class for x_session_type complex type.

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

 <complexType name="x_session_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="db" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="resource_path" type="{uri:lens:job:0.1}resource_path" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSkewColList Skew column list.

Java class for x_skew_col_list complex type.

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

 <complexType name="x_skew_col_list">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="elements" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSkewedInfo Table skew info.

Java class for x_skewed_info complex type.

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

 <complexType name="x_skewed_info">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="col_names" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="col_values" type="{uri:lens:cube:0.1}x_skew_col_list" maxOccurs="unbounded" minOccurs="0"/>
         <element name="value_location_map" type="{uri:lens:cube:0.1}x_skewed_value_location" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XSkewedValueLocation Map of the list of values to location.

Java class for x_skewed_value_location complex type.

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

 <complexType name="x_skewed_value_location">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="value" type="{uri:lens:cube:0.1}x_skew_col_list"/>
       </sequence>
       <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XStorage The storage specified by name, which would represent the underlying storage of data.

Java class for x_storage complex type.

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

 <complexType name="x_storage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
XStorageTableDesc 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" maxOccurs="unbounded" minOccurs="0"/>
         <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>
 
XStorageTableElement Storage and storage table description and update periods. table_desc is invalid when update_periods has a list of update_period_table_descriptor instead of a list of enums.

Java class for x_storage_table_element complex type.

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

 <complexType name="x_storage_table_element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="update_periods" type="{uri:lens:cube:0.1}x_update_periods" minOccurs="0"/>
         <element name="storage_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="table_desc" type="{uri:lens:cube:0.1}x_storage_table_desc" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
XStorageTables Storage table elements describing the storage name, its update periods and table description.

Java class for x_storage_tables complex type.

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

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

Java class for x_table_reference complex type.

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

 <complexType name="x_table_reference">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="table" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="maps_to_many" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
XTimePartSpec

Java class for x_time_part_spec complex type.

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

 <complexType name="x_time_part_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="part_spec_element" type="{uri:lens:cube:0.1}x_time_part_spec_element" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XTimePartSpecElement 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>
 
XTrigger Trigger is the gating condition for an instance of job to be launched. Currently only time based triggers are supported.

Java class for x_trigger complex type.

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

 <complexType name="x_trigger">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="frequency" type="{uri:lens:job:0.1}x_frequency"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
XUpdatePeriod

Java class for x_update_period.

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

 <simpleType name="x_update_period">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="CONTINUOUS"/>
     <enumeration value="SECONDLY"/>
     <enumeration value="MINUTELY"/>
     <enumeration value="HOURLY"/>
     <enumeration value="DAILY"/>
     <enumeration value="WEEKLY"/>
     <enumeration value="MONTHLY"/>
     <enumeration value="QUARTERLY"/>
     <enumeration value="YEARLY"/>
   </restriction>
 </simpleType>
 
XUpdatePeriodTableDescriptor An update period descriptor keeps an enum of update period and a storage table descriptor.

Java class for x_update_period_table_descriptor complex type.

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

 <complexType name="x_update_period_table_descriptor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="update_period" type="{uri:lens:cube:0.1}x_update_period"/>
         <element name="table_desc" type="{uri:lens:cube:0.1}x_storage_table_desc"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
XUpdatePeriods A list of update_period which contains either update period table descriptor or list of update_peroid enum.

Java class for x_update_periods complex type.

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

 <complexType name="x_update_periods">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice minOccurs="0">
         <element name="update_period_table_descriptor" type="{uri:lens:cube:0.1}x_update_period_table_descriptor" maxOccurs="unbounded" minOccurs="0"/>
         <element name="update_period" type="{uri:lens:cube:0.1}x_update_period" maxOccurs="unbounded" minOccurs="0"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 

XML

Default Namespace (schema)
type description
APIResult Instantiates a new API result.
status API Result status.
dateTime Instantiates a new date.
lensConf Instantiates a new lens conf.
lensSessionHandle Instantiates a new lens session handle.
priority The Enum Priority.
stringList Instantiates a new string list.
supportedOperations
toXMLString
toYAMLString
failedAttempt Instantiates a new query status.
inMemoryQueryResult Instantiates a new in memory query result.
lensPreparedQuery Instantiates a new lens prepared query.
lensQuery Instantiates a new lens query.
persistentQueryResult Instantiates a new persistent query result.
queryCostType
queryHandle Instantiates a new query handle.
queryHandleWithResultSet Instantiates a new query handle with result set.
queryPlan Instantiates a new query plan.
queryPrepareHandle Instantiates a new query prepare handle.
queryResult The Class QueryResult.
queryResultSetMetadata Instantiates a new query result set metadata.
queryStatus Instantiates a new query status.
status The Enum Status.
querySubmitResult The Class QuerySubmitResult.
resultColumn Instantiates a new result column.
resultColumnType The Enum ResultColumnType.
resultRow Instantiates a new result row.
listResponse Response of savedqueries list API.
parameter The class Parameter.
parameterCollectionType The enum ParameterCollectionType Collection type of a parameter has to be chosen based on its context. - If it is occurring next to an IN/NOT IN clause, its multiple - If it is found with EQ/NEQ..>,<,>=,<=,like etc, its single
parameterDataType The enum ParameterDataType Should be given based on the column data type.
parameterParserResponse Response of parsing a parameterised HQL query
resourceModifiedResponse The response of CRUD action on resource.
action Action enum that denotes the operation performed
savedQuery The class representing the saved query
lensAPIResult Transport object for results returned by Lens APIs DATA represents type of data in success result.
lensErrorTO
noErrorPayload NoErrorPayload type is to be used while creating LensResponse for success responses. Success Responses will not have any error payload.
noResultData NoResultData type is to be used while creating LensAPIResult for error scenarios. Error scenarios will not have any data related to successful execution of API.
queryCostTO Instantiates a new query cost.
userSessionInfo
Namespace uri:lens:cube:0.1 (schema)
type description
x_base_cube For XBaseCube, user would give the full specification of the measures and dimensions, expressions and join-chains.

Java class for x_base_cube complex type.

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

 <complexType name="x_base_cube">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_cube">
       <sequence>
         <element name="measures" type="{uri:lens:cube:0.1}x_measures"/>
         <element name="dim_attributes" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
         <element name="expressions" type="{uri:lens:cube:0.1}x_expressions" minOccurs="0"/>
         <element name="join_chains" type="{uri:lens:cube:0.1}x_join_chains" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
x_chain_column

Java class for x_chain_column complex type.

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

 <complexType name="x_chain_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="chain_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ref_col" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_column Column in table.

Java class for x_column complex type.

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

 <complexType name="x_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_columns

Java class for x_columns complex type.

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

 <complexType name="x_columns">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="column" type="{uri:lens:cube:0.1}x_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_cube XCube can either be a Base cube for which the user would give the full specification of the measures and dimensions or can be a Derived cube, for which the user would specify only the measure names, dimension names and parent. Derived cube can have subset of measure names and dimension names associated with its parent. It can have different properties associated with it than the parent.

Java class for x_cube complex type.

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

 <complexType name="x_cube">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_derived_cube For XDerivedCube, user would specify only the measure names, dimension names and its parent. Derived cube can have a subset of measure names and dimension names of its parent. It can have different properties associated with it than its parent.

Java class for x_derived_cube complex type.

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

 <complexType name="x_derived_cube">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_cube">
       <sequence>
         <element name="measure_names" type="{uri:lens:cube:0.1}x_measure_names" minOccurs="0"/>
         <element name="dim_attr_names" type="{uri:lens:cube:0.1}x_dim_attr_names" minOccurs="0"/>
       </sequence>
       <attribute name="parent" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
x_dim_attr_names Set of dim attribute names.

Java class for x_dim_attr_names complex type.

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

 <complexType name="x_dim_attr_names">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="attr_name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_dim_attribute A dim attribute.

Java class for x_dim_attribute complex type.

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

 <complexType name="x_dim_attribute">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="chain_ref_column" type="{uri:lens:cube:0.1}x_chain_column" maxOccurs="unbounded" minOccurs="0"/>
         <element name="hierarchy" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
         <element name="values" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="_type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="num_distinct_values" type="{http://www.w3.org/2001/XMLSchema}long" />
     </extension>
   </complexContent>
 </complexType>
 
x_dim_attributes Set of dim attributes.

Java class for x_dim_attributes complex type.

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

 <complexType name="x_dim_attributes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dim_attribute" type="{uri:lens:cube:0.1}x_dim_attribute" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_dimension XDimension consists of set of attributes, expressions, join-chains

Java class for x_dimension complex type.

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

 <complexType name="x_dimension">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="attributes" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
         <element name="expressions" type="{uri:lens:cube:0.1}x_expressions" minOccurs="0"/>
         <element name="join_chains" type="{uri:lens:cube:0.1}x_join_chains" minOccurs="0"/>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_dimension_table DimensionTable which belongs to a Dimension. The columns in the dimension table will be a subset of all fields in Dimension.

Java class for x_dimension_table complex type.

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

 <complexType name="x_dimension_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="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="storage_tables" type="{uri:lens:cube:0.1}x_storage_tables" minOccurs="0"/>
       </sequence>
       <attribute name="dimension_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
x_expr_column An expression column

Java class for x_expr_column complex type.

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

 <complexType name="x_expr_column">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="expr_spec" type="{uri:lens:cube:0.1}x_expr_spec" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
x_expr_spec Specification of single expression. Specification consists of required expression field, and optional start and end times associated with expression. Expression is valid between start time and end time, if both are specified. If only start_time is specified, is valid from start_time to till date. If only end_time is specified, is valid upto date specified, from any time. If no start time, end time are specified, the expression is always valid.

Java class for x_expr_spec complex type.

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

 <complexType name="x_expr_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="expr" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
x_expressions Set of expressions.

Java class for x_expressions complex type.

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

 <complexType name="x_expressions">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="expression" type="{uri:lens:cube:0.1}x_expr_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_fact XFact can either be a Cube Fact for which the user would give the full specification of the columns and storages or can be a Virtual fact, for which the user would specify only the Source fact and filters if any. Virtual fact derives its columns and storage specific details all from the source Fact. It can however have different properties associated with it than the source.

Java class for x_fact complex type.

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

 <complexType name="x_fact">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_fact_table

Java class for x_fact_table complex type.

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

 <complexType name="x_fact_table">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_fact">
       <sequence>
         <element name="columns" type="{uri:lens:cube:0.1}x_columns"/>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="storage_tables" type="{uri:lens:cube:0.1}x_storage_tables" minOccurs="0"/>
       </sequence>
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </complexContent>
 </complexType>
 
x_field some documentation

Java class for x_field complex type.

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

 <complexType name="x_field">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tags" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_flattened_column

Java class for x_flattened_column complex type.

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

 <complexType name="x_flattened_column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="measure" type="{uri:lens:cube:0.1}x_measure"/>
         <element name="expression" type="{uri:lens:cube:0.1}x_expr_column"/>
         <element name="dim_attribute" type="{uri:lens:cube:0.1}x_dim_attribute"/>
       </choice>
       <attribute name="table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="chain_name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_flattened_columns LENS will use this type to return all flattened columns reachable from a cube or dimension. This type is not expected to be created by end-users directly.

Java class for x_flattened_columns complex type.

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

 <complexType name="x_flattened_columns">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="flattened_column" type="{uri:lens:cube:0.1}x_flattened_column" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_join_chain Join chain represents the paths to reach a dimension. For example, to reach Country from SalesCube, there can be the following equivalent paths: SalesCube.deliveryStateid -> State.id, State.countryid -> Country.id SalesCube.deliveryCityid -> City.id, City.stateid -> State.id, State.countryid ->Country.id Both the above paths will be associated with same join chain i.e with same name, if they are equivalent and at runtime, LENS will choose the path to use. If the paths are not equivalent, they should be named differently. SalesCube.productionStateid -> State.id, State.countryid ->Country.id will be named differently.

Java class for x_join_chain complex type.

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

 <complexType name="x_join_chain">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <sequence>
         <element name="paths" type="{uri:lens:cube:0.1}x_join_paths"/>
       </sequence>
       <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
x_join_chains Set of join chains.

Java class for x_join_chains complex type.

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

 <complexType name="x_join_chains">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="join_chain" type="{uri:lens:cube:0.1}x_join_chain" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_join_edge Represents an edge associated with join path.

Java class for x_join_edge complex type.

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

 <complexType name="x_join_edge">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="from" type="{uri:lens:cube:0.1}x_table_reference"/>
         <element name="to" type="{uri:lens:cube:0.1}x_table_reference"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_join_edges Sequence of join edges.

Java class for x_join_edges complex type.

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

 <complexType name="x_join_edges">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="edge" type="{uri:lens:cube:0.1}x_join_edge" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_join_path Represents a path associated with chain.

Java class for x_join_path complex type.

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

 <complexType name="x_join_path">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="edges" type="{uri:lens:cube:0.1}x_join_edges"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_join_paths Set of join paths.

Java class for x_join_paths complex type.

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

 <complexType name="x_join_paths">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="path" type="{uri:lens:cube:0.1}x_join_path" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_measure A cube measure.

Java class for x_measure complex type.

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

 <complexType name="x_measure">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_field">
       <attribute name="_type" use="required" type="{uri:lens:cube:0.1}x_measure_type" />
       <attribute name="default_aggr" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="format_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" />
     </extension>
   </complexContent>
 </complexType>
 
x_measure_names Set of measure names.

Java class for x_measure_names complex type.

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

 <complexType name="x_measure_names">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="measure_name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_measure_type

Java class for x_measure_type.

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

 <simpleType name="x_measure_type">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="TINYINT"/>
     <enumeration value="SMALLINT"/>
     <enumeration value="INT"/>
     <enumeration value="BIGINT"/>
     <enumeration value="FLOAT"/>
     <enumeration value="DOUBLE"/>
     <enumeration value="DECIMAL"/>
   </restriction>
 </simpleType>
 
x_measures Set of measures.

Java class for x_measures complex type.

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

 <complexType name="x_measures">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="measure" type="{uri:lens:cube:0.1}x_measure" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_native_table 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" 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>
 
x_part_spec

Java class for x_part_spec complex type.

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

 <complexType name="x_part_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="part_spec_element" type="{uri:lens:cube:0.1}x_part_spec_element" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_part_spec_element Partition column name and its value.

Java class for x_part_spec_element complex type.

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

 <complexType name="x_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}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_partition 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>
 
x_partition_list Compact data structure for storing List of partitions.

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>
 
x_properties A list of property elements.

Java class for x_properties complex type.

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

 <complexType name="x_properties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" type="{uri:lens:cube:0.1}x_property" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_property A key-value pair for storing property's name and its value.

Java class for x_property complex type.

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

 <complexType name="x_property">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_segment Segment belong to the segmentation

Java class for x_segment complex type.

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

 <complexType name="x_segment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="segment_parameters" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_segmentation Segmentation is associated to a base cube and consists of two or more segments. All segments together make segmentation complete.

Java class for x_segmentation complex type.

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

 <complexType name="x_segmentation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="segements" type="{uri:lens:cube:0.1}x_segments" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
x_segments Segments in segmentation. There can be two or more such segments.

Java class for x_segments complex type.

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

 <complexType name="x_segments">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="segment" type="{uri:lens:cube:0.1}x_segment" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_skew_col_list Skew column list.

Java class for x_skew_col_list complex type.

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

 <complexType name="x_skew_col_list">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="elements" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_skewed_info Table skew info.

Java class for x_skewed_info complex type.

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

 <complexType name="x_skewed_info">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="col_names" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="col_values" type="{uri:lens:cube:0.1}x_skew_col_list" maxOccurs="unbounded" minOccurs="0"/>
         <element name="value_location_map" type="{uri:lens:cube:0.1}x_skewed_value_location" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_skewed_value_location Map of the list of values to location.

Java class for x_skewed_value_location complex type.

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

 <complexType name="x_skewed_value_location">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="value" type="{uri:lens:cube:0.1}x_skew_col_list"/>
       </sequence>
       <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_storage The storage specified by name, which would represent the underlying storage of data.

Java class for x_storage complex type.

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

 <complexType name="x_storage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_storage_table_desc 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" maxOccurs="unbounded" minOccurs="0"/>
         <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>
 
x_storage_table_element Storage and storage table description and update periods. table_desc is invalid when update_periods has a list of update_period_table_descriptor instead of a list of enums.

Java class for x_storage_table_element complex type.

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

 <complexType name="x_storage_table_element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="update_periods" type="{uri:lens:cube:0.1}x_update_periods" minOccurs="0"/>
         <element name="storage_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="table_desc" type="{uri:lens:cube:0.1}x_storage_table_desc" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
x_storage_tables Storage table elements describing the storage name, its update periods and table description.

Java class for x_storage_tables complex type.

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

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

Java class for x_table_reference complex type.

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

 <complexType name="x_table_reference">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="table" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="maps_to_many" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
x_time_part_spec

Java class for x_time_part_spec complex type.

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

 <complexType name="x_time_part_spec">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="part_spec_element" type="{uri:lens:cube:0.1}x_time_part_spec_element" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_time_part_spec_element 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>
 
x_update_period

Java class for x_update_period.

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

 <simpleType name="x_update_period">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="CONTINUOUS"/>
     <enumeration value="SECONDLY"/>
     <enumeration value="MINUTELY"/>
     <enumeration value="HOURLY"/>
     <enumeration value="DAILY"/>
     <enumeration value="WEEKLY"/>
     <enumeration value="MONTHLY"/>
     <enumeration value="QUARTERLY"/>
     <enumeration value="YEARLY"/>
   </restriction>
 </simpleType>
 
x_update_period_table_descriptor An update period descriptor keeps an enum of update period and a storage table descriptor.

Java class for x_update_period_table_descriptor complex type.

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

 <complexType name="x_update_period_table_descriptor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="update_period" type="{uri:lens:cube:0.1}x_update_period"/>
         <element name="table_desc" type="{uri:lens:cube:0.1}x_storage_table_desc"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_update_periods A list of update_period which contains either update period table descriptor or list of update_peroid enum.

Java class for x_update_periods complex type.

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

 <complexType name="x_update_periods">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice minOccurs="0">
         <element name="update_period_table_descriptor" type="{uri:lens:cube:0.1}x_update_period_table_descriptor" maxOccurs="unbounded" minOccurs="0"/>
         <element name="update_period" type="{uri:lens:cube:0.1}x_update_period" maxOccurs="unbounded" minOccurs="0"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
x_virtual_fact_table

Java class for x_virtual_fact_table complex type.

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

 <complexType name="x_virtual_fact_table">
   <complexContent>
     <extension base="{uri:lens:cube:0.1}x_fact">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </sequence>
       <attribute name="source_fact_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </complexContent>
 </complexType>
 
Namespace uri:lens:job:0.1 (schema)
type description
map_type A type to represent key, value pairs.

Java class for map_type complex type.

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

 <complexType name="map_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="key" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
resource_path A resource path with file name and type

Java class for resource_path complex type.

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

 <complexType name="resource_path">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
schedulerJobHandle Handle for SchedulerJob.
schedulerJobInfo POJO to represent the job table in the database.
schedulerJobInstanceHandle Handle for SchedulerJobInstance
schedulerJobInstanceInfo POJO for an instance of SchedulerJob.
schedulerJobInstanceRun
schedulerJobInstanceState
schedulerJobState
schedulerJobStats
x_execution Task which has to be scheduled. Currently only query is supported.

Java class for x_execution complex type.

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

 <complexType name="x_execution">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="session" type="{uri:lens:job:0.1}x_session_type"/>
         <choice>
           <element name="query" type="{uri:lens:job:0.1}x_job_query"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_frequency Frequency of schedule. Frequency can either be 1) an enum from (DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY) 2) a cron_expression

Java class for x_frequency complex type.

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

 <complexType name="x_frequency">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="enum" type="{uri:lens:job:0.1}x_frequency_enum"/>
         <element name="cron_expression" type="{uri:lens:job:0.1}x_cron_expression"/>
       </choice>
       <attribute name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
x_frequency_enum

Java class for x_frequency_enum.

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

 <simpleType name="x_frequency_enum">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="DAILY"/>
     <enumeration value="WEEKLY"/>
     <enumeration value="MONTHLY"/>
     <enumeration value="QUARTERLY"/>
     <enumeration value="YEARLY"/>
   </restriction>
 </simpleType>
 
x_job XJob represents a job that can be scheduled on lens.

Java class for x_job complex type.

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

 <complexType name="x_job">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="execution" type="{uri:lens:job:0.1}x_execution"/>
         <element name="trigger" type="{uri:lens:job:0.1}x_trigger"/>
         <element name="job_conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_job_query A query which is executed in each run of the job.

Java class for x_job_query complex type.

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

 <complexType name="x_job_query">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="query" type="{uri:lens:job:0.1}non_empty_string"/>
         <element name="conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_session_type

Java class for x_session_type complex type.

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

 <complexType name="x_session_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="db" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="resource_path" type="{uri:lens:job:0.1}resource_path" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
x_trigger Trigger is the gating condition for an instance of job to be launched. Currently only time based triggers are supported.

Java class for x_trigger complex type.

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

 <complexType name="x_trigger">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="frequency" type="{uri:lens:job:0.1}x_frequency"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>