x_job Data Type

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>
 

Namespace
uri:lens:job:0.1
Schema
ns1.xsd
Properties
name data type type namespace min/max occurs constraints description
end_time dateTime element ns1 1/1 required  
execution x_execution element ns1 1/1 required  
job_conf map_type element ns1 0/unbounded    
name string element ns1 1/1 required  
start_time dateTime element ns1 1/1 required  
trigger x_trigger element ns1 1/1 required  

Example

<x----- xmlns="uri:lens:job:0.1">
  <name>...</name>
  <execution>
    <session>
      <db>...</db>
      <conf/>
      <resource_path/>
    </session>
    <query>
      <query>...</query>
      <conf/>
    </query>
  </execution>
  <trigger>
    <frequency timezone="...">
      <enum>...</enum>
      <cron_expression>...</cron_expression>
    </frequency>
  </trigger>
  <job_conf>
    <key>...</key>
    <value>...</value>
  </job_conf>
  <start_time>...</start_time>
  <end_time>...</end_time>
</x----->