You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by am...@apache.org on 2015/02/19 02:23:17 UTC
svn commit: r1660778 [33/43] - in /incubator/lens/site/publish: ./ admin/
apidocs/ apidocs/org/apache/lens/api/ apidocs/org/apache/lens/api/class-use/
apidocs/org/apache/lens/api/metastore/
apidocs/org/apache/lens/api/metastore/class-use/ apidocs/org/a...
Modified: incubator/lens/site/publish/current/lens-server/wsdocs/lens.php
URL: http://svn.apache.org/viewvc/incubator/lens/site/publish/current/lens-server/wsdocs/lens.php?rev=1660778&r1=1660777&r2=1660778&view=diff
==============================================================================
--- incubator/lens/site/publish/current/lens-server/wsdocs/lens.php (original)
+++ incubator/lens/site/publish/current/lens-server/wsdocs/lens.php Thu Feb 19 01:22:56 2015
@@ -255,15 +255,11 @@
/**
* (no documentation provided)
*/
- private $prepareHandle;
- /**
- * (no documentation provided)
- */
private $driverQuery;
/**
* (no documentation provided)
*/
- private $preparedUser;
+ private $conf;
/**
* (no documentation provided)
*/
@@ -275,7 +271,11 @@
/**
* (no documentation provided)
*/
- private $conf;
+ private $preparedUser;
+ /**
+ * (no documentation provided)
+ */
+ private $prepareHandle;
/**
* Constructs a LensPreparedQuery from a (parsed) JSON hash
@@ -302,19 +302,6 @@
/**
* (no documentation provided)
*/
- public function getPrepareHandle() {
- return $this->prepareHandle;
- }
-
- /**
- * (no documentation provided)
- */
- public function setPrepareHandle($prepareHandle) {
- $this->prepareHandle = $prepareHandle;
- }
- /**
- * (no documentation provided)
- */
public function getDriverQuery() {
return $this->driverQuery;
}
@@ -328,15 +315,15 @@
/**
* (no documentation provided)
*/
- public function getPreparedUser() {
- return $this->preparedUser;
+ public function getConf() {
+ return $this->conf;
}
/**
* (no documentation provided)
*/
- public function setPreparedUser($preparedUser) {
- $this->preparedUser = $preparedUser;
+ public function setConf($conf) {
+ $this->conf = $conf;
}
/**
* (no documentation provided)
@@ -367,15 +354,28 @@
/**
* (no documentation provided)
*/
- public function getConf() {
- return $this->conf;
+ public function getPreparedUser() {
+ return $this->preparedUser;
}
/**
* (no documentation provided)
*/
- public function setConf($conf) {
- $this->conf = $conf;
+ public function setPreparedUser($preparedUser) {
+ $this->preparedUser = $preparedUser;
+ }
+ /**
+ * (no documentation provided)
+ */
+ public function getPrepareHandle() {
+ return $this->prepareHandle;
+ }
+
+ /**
+ * (no documentation provided)
+ */
+ public function setPrepareHandle($prepareHandle) {
+ $this->prepareHandle = $prepareHandle;
}
/**
* Returns the associative array for this LensPreparedQuery
@@ -385,14 +385,11 @@
if( $this->preparedTime ) {
$a["preparedTime"] = $this->preparedTime;
}
- if( $this->prepareHandle ) {
- $a["prepareHandle"] = $this->prepareHandle->toArray();
- }
if( $this->driverQuery ) {
$a["driverQuery"] = $this->driverQuery;
}
- if( $this->preparedUser ) {
- $a["preparedUser"] = $this->preparedUser;
+ if( $this->conf ) {
+ $a["conf"] = $this->conf->toArray();
}
if( $this->userQuery ) {
$a["userQuery"] = $this->userQuery;
@@ -400,8 +397,11 @@
if( $this->selectedDriverClassName ) {
$a["selectedDriverClassName"] = $this->selectedDriverClassName;
}
- if( $this->conf ) {
- $a["conf"] = $this->conf->toArray();
+ if( $this->preparedUser ) {
+ $a["preparedUser"] = $this->preparedUser;
+ }
+ if( $this->prepareHandle ) {
+ $a["prepareHandle"] = $this->prepareHandle->toArray();
}
return $a;
}
@@ -420,14 +420,11 @@
if( isset($o['preparedTime']) ) {
$this->preparedTime = $o["preparedTime"];
}
- if( isset($o['prepareHandle']) ) {
- $this->prepareHandle = new \Org\Apache\Lens\Api\Query\QueryPrepareHandle($o["prepareHandle"]);
- }
if( isset($o['driverQuery']) ) {
$this->driverQuery = $o["driverQuery"];
}
- if( isset($o['preparedUser']) ) {
- $this->preparedUser = $o["preparedUser"];
+ if( isset($o['conf']) ) {
+ $this->conf = new \Org\Apache\Lens\Api\LensConf($o["conf"]);
}
if( isset($o['userQuery']) ) {
$this->userQuery = $o["userQuery"];
@@ -435,8 +432,11 @@
if( isset($o['selectedDriverClassName']) ) {
$this->selectedDriverClassName = $o["selectedDriverClassName"];
}
- if( isset($o['conf']) ) {
- $this->conf = new \Org\Apache\Lens\Api\LensConf($o["conf"]);
+ if( isset($o['preparedUser']) ) {
+ $this->preparedUser = $o["preparedUser"];
+ }
+ if( isset($o['prepareHandle']) ) {
+ $this->prepareHandle = new \Org\Apache\Lens\Api\Query\QueryPrepareHandle($o["prepareHandle"]);
}
}
@@ -456,19 +456,19 @@
/**
* (no documentation provided)
*/
- private $submittedUser;
+ private $driverOpHandle;
/**
* (no documentation provided)
*/
- private $launchTime;
+ private $submissionTime;
/**
* (no documentation provided)
*/
- private $queryHandle;
+ private $submittedUser;
/**
* (no documentation provided)
*/
- private $status;
+ private $driverQuery;
/**
* (no documentation provided)
*/
@@ -476,55 +476,55 @@
/**
* (no documentation provided)
*/
- private $driverStartTime;
+ private $isPersistent;
/**
* (no documentation provided)
*/
- private $finishTime;
+ private $queryHandle;
/**
* (no documentation provided)
*/
- private $queryName;
+ private $status;
/**
* (no documentation provided)
*/
- private $resultSetPath;
+ private $driverStartTime;
/**
* (no documentation provided)
*/
- private $driverOpHandle;
+ private $queryName;
/**
* (no documentation provided)
*/
- private $selectedDriverClassName;
+ private $closedTime;
/**
* (no documentation provided)
*/
- private $driverQuery;
+ private $selectedDriverClassName;
/**
* (no documentation provided)
*/
- private $driverFinishTime;
+ private $resultSetPath;
/**
* (no documentation provided)
*/
- private $submissionTime;
+ private $driverFinishTime;
/**
* (no documentation provided)
*/
- private $priority;
+ private $launchTime;
/**
* (no documentation provided)
*/
- private $queryConf;
+ private $priority;
/**
* (no documentation provided)
*/
- private $isPersistent;
+ private $finishTime;
/**
* (no documentation provided)
*/
- private $closedTime;
+ private $queryConf;
/**
* Constructs a LensQuery from a (parsed) JSON hash
@@ -538,54 +538,54 @@
/**
* (no documentation provided)
*/
- public function getSubmittedUser() {
- return $this->submittedUser;
+ public function getDriverOpHandle() {
+ return $this->driverOpHandle;
}
/**
* (no documentation provided)
*/
- public function setSubmittedUser($submittedUser) {
- $this->submittedUser = $submittedUser;
+ public function setDriverOpHandle($driverOpHandle) {
+ $this->driverOpHandle = $driverOpHandle;
}
/**
* (no documentation provided)
*/
- public function getLaunchTime() {
- return $this->launchTime;
+ public function getSubmissionTime() {
+ return $this->submissionTime;
}
/**
* (no documentation provided)
*/
- public function setLaunchTime($launchTime) {
- $this->launchTime = $launchTime;
+ public function setSubmissionTime($submissionTime) {
+ $this->submissionTime = $submissionTime;
}
/**
* (no documentation provided)
*/
- public function getQueryHandle() {
- return $this->queryHandle;
+ public function getSubmittedUser() {
+ return $this->submittedUser;
}
/**
* (no documentation provided)
*/
- public function setQueryHandle($queryHandle) {
- $this->queryHandle = $queryHandle;
+ public function setSubmittedUser($submittedUser) {
+ $this->submittedUser = $submittedUser;
}
/**
* (no documentation provided)
*/
- public function getStatus() {
- return $this->status;
+ public function getDriverQuery() {
+ return $this->driverQuery;
}
/**
* (no documentation provided)
*/
- public function setStatus($status) {
- $this->status = $status;
+ public function setDriverQuery($driverQuery) {
+ $this->driverQuery = $driverQuery;
}
/**
* (no documentation provided)
@@ -603,67 +603,80 @@
/**
* (no documentation provided)
*/
- public function getDriverStartTime() {
- return $this->driverStartTime;
+ public function getIsPersistent() {
+ return $this->isPersistent;
}
/**
* (no documentation provided)
*/
- public function setDriverStartTime($driverStartTime) {
- $this->driverStartTime = $driverStartTime;
+ public function setIsPersistent($isPersistent) {
+ $this->isPersistent = $isPersistent;
}
/**
* (no documentation provided)
*/
- public function getFinishTime() {
- return $this->finishTime;
+ public function getQueryHandle() {
+ return $this->queryHandle;
}
/**
* (no documentation provided)
*/
- public function setFinishTime($finishTime) {
- $this->finishTime = $finishTime;
+ public function setQueryHandle($queryHandle) {
+ $this->queryHandle = $queryHandle;
}
/**
* (no documentation provided)
*/
- public function getQueryName() {
- return $this->queryName;
+ public function getStatus() {
+ return $this->status;
}
/**
* (no documentation provided)
*/
- public function setQueryName($queryName) {
- $this->queryName = $queryName;
+ public function setStatus($status) {
+ $this->status = $status;
}
/**
* (no documentation provided)
*/
- public function getResultSetPath() {
- return $this->resultSetPath;
+ public function getDriverStartTime() {
+ return $this->driverStartTime;
}
/**
* (no documentation provided)
*/
- public function setResultSetPath($resultSetPath) {
- $this->resultSetPath = $resultSetPath;
+ public function setDriverStartTime($driverStartTime) {
+ $this->driverStartTime = $driverStartTime;
}
/**
* (no documentation provided)
*/
- public function getDriverOpHandle() {
- return $this->driverOpHandle;
+ public function getQueryName() {
+ return $this->queryName;
}
/**
* (no documentation provided)
*/
- public function setDriverOpHandle($driverOpHandle) {
- $this->driverOpHandle = $driverOpHandle;
+ public function setQueryName($queryName) {
+ $this->queryName = $queryName;
+ }
+ /**
+ * (no documentation provided)
+ */
+ public function getClosedTime() {
+ return $this->closedTime;
+ }
+
+ /**
+ * (no documentation provided)
+ */
+ public function setClosedTime($closedTime) {
+ $this->closedTime = $closedTime;
}
/**
* (no documentation provided)
@@ -681,15 +694,15 @@
/**
* (no documentation provided)
*/
- public function getDriverQuery() {
- return $this->driverQuery;
+ public function getResultSetPath() {
+ return $this->resultSetPath;
}
/**
* (no documentation provided)
*/
- public function setDriverQuery($driverQuery) {
- $this->driverQuery = $driverQuery;
+ public function setResultSetPath($resultSetPath) {
+ $this->resultSetPath = $resultSetPath;
}
/**
* (no documentation provided)
@@ -707,15 +720,15 @@
/**
* (no documentation provided)
*/
- public function getSubmissionTime() {
- return $this->submissionTime;
+ public function getLaunchTime() {
+ return $this->launchTime;
}
/**
* (no documentation provided)
*/
- public function setSubmissionTime($submissionTime) {
- $this->submissionTime = $submissionTime;
+ public function setLaunchTime($launchTime) {
+ $this->launchTime = $launchTime;
}
/**
* (no documentation provided)
@@ -733,52 +746,51 @@
/**
* (no documentation provided)
*/
- public function getQueryConf() {
- return $this->queryConf;
- }
-
- /**
- * (no documentation provided)
- */
- public function setQueryConf($queryConf) {
- $this->queryConf = $queryConf;
- }
- /**
- * (no documentation provided)
- */
- public function getIsPersistent() {
- return $this->isPersistent;
+ public function getFinishTime() {
+ return $this->finishTime;
}
/**
* (no documentation provided)
*/
- public function setIsPersistent($isPersistent) {
- $this->isPersistent = $isPersistent;
+ public function setFinishTime($finishTime) {
+ $this->finishTime = $finishTime;
}
/**
* (no documentation provided)
*/
- public function getClosedTime() {
- return $this->closedTime;
+ public function getQueryConf() {
+ return $this->queryConf;
}
/**
* (no documentation provided)
*/
- public function setClosedTime($closedTime) {
- $this->closedTime = $closedTime;
+ public function setQueryConf($queryConf) {
+ $this->queryConf = $queryConf;
}
/**
* Returns the associative array for this LensQuery
*/
public function toArray() {
$a = array();
+ if( $this->driverOpHandle ) {
+ $a["driverOpHandle"] = $this->driverOpHandle;
+ }
+ if( $this->submissionTime ) {
+ $a["submissionTime"] = $this->submissionTime;
+ }
if( $this->submittedUser ) {
$a["submittedUser"] = $this->submittedUser;
}
- if( $this->launchTime ) {
- $a["launchTime"] = $this->launchTime;
+ if( $this->driverQuery ) {
+ $a["driverQuery"] = $this->driverQuery;
+ }
+ if( $this->userQuery ) {
+ $a["userQuery"] = $this->userQuery;
+ }
+ if( $this->isPersistent ) {
+ $a["isPersistent"] = $this->isPersistent;
}
if( $this->queryHandle ) {
$a["queryHandle"] = $this->queryHandle->toArray();
@@ -786,48 +798,36 @@
if( $this->status ) {
$a["status"] = $this->status->toArray();
}
- if( $this->userQuery ) {
- $a["userQuery"] = $this->userQuery;
- }
if( $this->driverStartTime ) {
$a["driverStartTime"] = $this->driverStartTime;
}
- if( $this->finishTime ) {
- $a["finishTime"] = $this->finishTime;
- }
if( $this->queryName ) {
$a["queryName"] = $this->queryName;
}
- if( $this->resultSetPath ) {
- $a["resultSetPath"] = $this->resultSetPath;
- }
- if( $this->driverOpHandle ) {
- $a["driverOpHandle"] = $this->driverOpHandle;
+ if( $this->closedTime ) {
+ $a["closedTime"] = $this->closedTime;
}
if( $this->selectedDriverClassName ) {
$a["selectedDriverClassName"] = $this->selectedDriverClassName;
}
- if( $this->driverQuery ) {
- $a["driverQuery"] = $this->driverQuery;
+ if( $this->resultSetPath ) {
+ $a["resultSetPath"] = $this->resultSetPath;
}
if( $this->driverFinishTime ) {
$a["driverFinishTime"] = $this->driverFinishTime;
}
- if( $this->submissionTime ) {
- $a["submissionTime"] = $this->submissionTime;
+ if( $this->launchTime ) {
+ $a["launchTime"] = $this->launchTime;
}
if( $this->priority ) {
$a["priority"] = $this->priority;
}
+ if( $this->finishTime ) {
+ $a["finishTime"] = $this->finishTime;
+ }
if( $this->queryConf ) {
$a["queryConf"] = $this->queryConf->toArray();
}
- if( $this->isPersistent ) {
- $a["isPersistent"] = $this->isPersistent;
- }
- if( $this->closedTime ) {
- $a["closedTime"] = $this->closedTime;
- }
return $a;
}
@@ -842,11 +842,23 @@
* Initializes this LensQuery from an associative array
*/
public function initFromArray($o) {
+ if( isset($o['driverOpHandle']) ) {
+ $this->driverOpHandle = $o["driverOpHandle"];
+ }
+ if( isset($o['submissionTime']) ) {
+ $this->submissionTime = $o["submissionTime"];
+ }
if( isset($o['submittedUser']) ) {
$this->submittedUser = $o["submittedUser"];
}
- if( isset($o['launchTime']) ) {
- $this->launchTime = $o["launchTime"];
+ if( isset($o['driverQuery']) ) {
+ $this->driverQuery = $o["driverQuery"];
+ }
+ if( isset($o['userQuery']) ) {
+ $this->userQuery = $o["userQuery"];
+ }
+ if( isset($o['isPersistent']) ) {
+ $this->isPersistent = $o["isPersistent"];
}
if( isset($o['queryHandle']) ) {
$this->queryHandle = new \Org\Apache\Lens\Api\Query\QueryHandle($o["queryHandle"]);
@@ -854,48 +866,36 @@
if( isset($o['status']) ) {
$this->status = new \Org\Apache\Lens\Api\Query\QueryStatus($o["status"]);
}
- if( isset($o['userQuery']) ) {
- $this->userQuery = $o["userQuery"];
- }
if( isset($o['driverStartTime']) ) {
$this->driverStartTime = $o["driverStartTime"];
}
- if( isset($o['finishTime']) ) {
- $this->finishTime = $o["finishTime"];
- }
if( isset($o['queryName']) ) {
$this->queryName = $o["queryName"];
}
- if( isset($o['resultSetPath']) ) {
- $this->resultSetPath = $o["resultSetPath"];
- }
- if( isset($o['driverOpHandle']) ) {
- $this->driverOpHandle = $o["driverOpHandle"];
+ if( isset($o['closedTime']) ) {
+ $this->closedTime = $o["closedTime"];
}
if( isset($o['selectedDriverClassName']) ) {
$this->selectedDriverClassName = $o["selectedDriverClassName"];
}
- if( isset($o['driverQuery']) ) {
- $this->driverQuery = $o["driverQuery"];
+ if( isset($o['resultSetPath']) ) {
+ $this->resultSetPath = $o["resultSetPath"];
}
if( isset($o['driverFinishTime']) ) {
$this->driverFinishTime = $o["driverFinishTime"];
}
- if( isset($o['submissionTime']) ) {
- $this->submissionTime = $o["submissionTime"];
+ if( isset($o['launchTime']) ) {
+ $this->launchTime = $o["launchTime"];
}
if( isset($o['priority']) ) {
$this->priority = $o["priority"];
}
+ if( isset($o['finishTime']) ) {
+ $this->finishTime = $o["finishTime"];
+ }
if( isset($o['queryConf']) ) {
$this->queryConf = new \Org\Apache\Lens\Api\LensConf($o["queryConf"]);
}
- if( isset($o['isPersistent']) ) {
- $this->isPersistent = $o["isPersistent"];
- }
- if( isset($o['closedTime']) ) {
- $this->closedTime = $o["closedTime"];
- }
}
}
@@ -914,11 +914,11 @@
/**
* (no documentation provided)
*/
- private $estimatedResourceUsage;
+ private $estimatedExecTimeMillis;
/**
* (no documentation provided)
*/
- private $estimatedExecTimeMillis;
+ private $estimatedResourceUsage;
/**
* Constructs a QueryCost from a (parsed) JSON hash
@@ -932,40 +932,40 @@
/**
* (no documentation provided)
*/
- public function getEstimatedResourceUsage() {
- return $this->estimatedResourceUsage;
+ public function getEstimatedExecTimeMillis() {
+ return $this->estimatedExecTimeMillis;
}
/**
* (no documentation provided)
*/
- public function setEstimatedResourceUsage($estimatedResourceUsage) {
- $this->estimatedResourceUsage = $estimatedResourceUsage;
+ public function setEstimatedExecTimeMillis($estimatedExecTimeMillis) {
+ $this->estimatedExecTimeMillis = $estimatedExecTimeMillis;
}
/**
* (no documentation provided)
*/
- public function getEstimatedExecTimeMillis() {
- return $this->estimatedExecTimeMillis;
+ public function getEstimatedResourceUsage() {
+ return $this->estimatedResourceUsage;
}
/**
* (no documentation provided)
*/
- public function setEstimatedExecTimeMillis($estimatedExecTimeMillis) {
- $this->estimatedExecTimeMillis = $estimatedExecTimeMillis;
+ public function setEstimatedResourceUsage($estimatedResourceUsage) {
+ $this->estimatedResourceUsage = $estimatedResourceUsage;
}
/**
* Returns the associative array for this QueryCost
*/
public function toArray() {
$a = array();
- if( $this->estimatedResourceUsage ) {
- $a["estimatedResourceUsage"] = $this->estimatedResourceUsage;
- }
if( $this->estimatedExecTimeMillis ) {
$a["estimatedExecTimeMillis"] = $this->estimatedExecTimeMillis;
}
+ if( $this->estimatedResourceUsage ) {
+ $a["estimatedResourceUsage"] = $this->estimatedResourceUsage;
+ }
return $a;
}
@@ -980,12 +980,12 @@
* Initializes this QueryCost from an associative array
*/
public function initFromArray($o) {
- if( isset($o['estimatedResourceUsage']) ) {
- $this->estimatedResourceUsage = $o["estimatedResourceUsage"];
- }
if( isset($o['estimatedExecTimeMillis']) ) {
$this->estimatedExecTimeMillis = $o["estimatedExecTimeMillis"];
}
+ if( isset($o['estimatedResourceUsage']) ) {
+ $this->estimatedResourceUsage = $o["estimatedResourceUsage"];
+ }
}
}
@@ -1115,19 +1115,19 @@
/**
* (no documentation provided)
*/
- private $errorMessage;
+ private $status;
/**
* (no documentation provided)
*/
- private $statusMessage;
+ private $progressMessage;
/**
* (no documentation provided)
*/
- private $progressMessage;
+ private $errorMessage;
/**
* (no documentation provided)
*/
- private $status;
+ private $progress;
/**
* (no documentation provided)
*/
@@ -1135,7 +1135,7 @@
/**
* (no documentation provided)
*/
- private $progress;
+ private $statusMessage;
/**
* Constructs a QueryStatus from a (parsed) JSON hash
@@ -1149,54 +1149,54 @@
/**
* (no documentation provided)
*/
- public function getErrorMessage() {
- return $this->errorMessage;
+ public function getStatus() {
+ return $this->status;
}
/**
* (no documentation provided)
*/
- public function setErrorMessage($errorMessage) {
- $this->errorMessage = $errorMessage;
+ public function setStatus($status) {
+ $this->status = $status;
}
/**
* (no documentation provided)
*/
- public function getStatusMessage() {
- return $this->statusMessage;
+ public function getProgressMessage() {
+ return $this->progressMessage;
}
/**
* (no documentation provided)
*/
- public function setStatusMessage($statusMessage) {
- $this->statusMessage = $statusMessage;
+ public function setProgressMessage($progressMessage) {
+ $this->progressMessage = $progressMessage;
}
/**
* (no documentation provided)
*/
- public function getProgressMessage() {
- return $this->progressMessage;
+ public function getErrorMessage() {
+ return $this->errorMessage;
}
/**
* (no documentation provided)
*/
- public function setProgressMessage($progressMessage) {
- $this->progressMessage = $progressMessage;
+ public function setErrorMessage($errorMessage) {
+ $this->errorMessage = $errorMessage;
}
/**
* (no documentation provided)
*/
- public function getStatus() {
- return $this->status;
+ public function getProgress() {
+ return $this->progress;
}
/**
* (no documentation provided)
*/
- public function setStatus($status) {
- $this->status = $status;
+ public function setProgress($progress) {
+ $this->progress = $progress;
}
/**
* (no documentation provided)
@@ -1214,38 +1214,38 @@
/**
* (no documentation provided)
*/
- public function getProgress() {
- return $this->progress;
+ public function getStatusMessage() {
+ return $this->statusMessage;
}
/**
* (no documentation provided)
*/
- public function setProgress($progress) {
- $this->progress = $progress;
+ public function setStatusMessage($statusMessage) {
+ $this->statusMessage = $statusMessage;
}
/**
* Returns the associative array for this QueryStatus
*/
public function toArray() {
$a = array();
- if( $this->errorMessage ) {
- $a["errorMessage"] = $this->errorMessage;
- }
- if( $this->statusMessage ) {
- $a["statusMessage"] = $this->statusMessage;
+ if( $this->status ) {
+ $a["status"] = $this->status;
}
if( $this->progressMessage ) {
$a["progressMessage"] = $this->progressMessage;
}
- if( $this->status ) {
- $a["status"] = $this->status;
+ if( $this->errorMessage ) {
+ $a["errorMessage"] = $this->errorMessage;
+ }
+ if( $this->progress ) {
+ $a["progress"] = $this->progress;
}
if( $this->isResultSetAvailable ) {
$a["isResultSetAvailable"] = $this->isResultSetAvailable;
}
- if( $this->progress ) {
- $a["progress"] = $this->progress;
+ if( $this->statusMessage ) {
+ $a["statusMessage"] = $this->statusMessage;
}
return $a;
}
@@ -1261,23 +1261,23 @@
* Initializes this QueryStatus from an associative array
*/
public function initFromArray($o) {
- if( isset($o['errorMessage']) ) {
- $this->errorMessage = $o["errorMessage"];
- }
- if( isset($o['statusMessage']) ) {
- $this->statusMessage = $o["statusMessage"];
+ if( isset($o['status']) ) {
+ $this->status = $o["status"];
}
if( isset($o['progressMessage']) ) {
$this->progressMessage = $o["progressMessage"];
}
- if( isset($o['status']) ) {
- $this->status = $o["status"];
+ if( isset($o['errorMessage']) ) {
+ $this->errorMessage = $o["errorMessage"];
+ }
+ if( isset($o['progress']) ) {
+ $this->progress = $o["progress"];
}
if( isset($o['isResultSetAvailable']) ) {
$this->isResultSetAvailable = $o["isResultSetAvailable"];
}
- if( isset($o['progress']) ) {
- $this->progress = $o["progress"];
+ if( isset($o['statusMessage']) ) {
+ $this->statusMessage = $o["statusMessage"];
}
}
@@ -1816,99 +1816,99 @@
/**
* (no documentation provided)
*/
- private $planString;
+ private $joinWeight;
/**
* (no documentation provided)
*/
- private $errorMsg;
+ private $queryCost;
/**
* (no documentation provided)
*/
- private $obyWeight;
+ private $tableWeights;
/**
* (no documentation provided)
*/
- private $tableWeights;
+ private $scanMode;
/**
* (no documentation provided)
*/
- private $numObys;
+ private $numSelDi;
/**
* (no documentation provided)
*/
- private $numSels;
+ private $havingWeight;
/**
* (no documentation provided)
*/
- private $hasSubQuery;
+ private $error;
/**
* (no documentation provided)
*/
- private $execMode;
+ private $filterWeight;
/**
* (no documentation provided)
*/
- private $havingWeight;
+ private $errorMsg;
/**
* (no documentation provided)
*/
- private $joinWeight;
+ private $planString;
/**
* (no documentation provided)
*/
- private $error;
+ private $numObys;
/**
* (no documentation provided)
*/
- private $gbyWeight;
+ private $obyWeight;
/**
* (no documentation provided)
*/
- private $numJoins;
+ private $execMode;
/**
* (no documentation provided)
*/
- private $tablesQueried;
+ private $selectWeight;
/**
* (no documentation provided)
*/
- private $numFilters;
+ private $gbyWeight;
/**
* (no documentation provided)
*/
- private $numAggrExprs;
+ private $numFilters;
/**
* (no documentation provided)
*/
- private $scanMode;
+ private $hasSubQuery;
/**
* (no documentation provided)
*/
- private $selectWeight;
+ private $numGbys;
/**
* (no documentation provided)
*/
- private $numHaving;
+ private $tablesQueried;
/**
* (no documentation provided)
*/
- private $filterWeight;
+ private $numAggrExprs;
/**
* (no documentation provided)
*/
- private $numSelDi;
+ private $numHaving;
/**
* (no documentation provided)
*/
- private $prepareHandle;
+ private $numJoins;
/**
* (no documentation provided)
*/
- private $numGbys;
+ private $prepareHandle;
/**
* (no documentation provided)
*/
- private $queryCost;
+ private $numSels;
/**
* Constructs a QueryPlan from a (parsed) JSON hash
@@ -1922,358 +1922,373 @@
/**
* (no documentation provided)
*/
- public function getPlanString() {
- return $this->planString;
+ public function getJoinWeight() {
+ return $this->joinWeight;
}
/**
* (no documentation provided)
*/
- public function setPlanString($planString) {
- $this->planString = $planString;
+ public function setJoinWeight($joinWeight) {
+ $this->joinWeight = $joinWeight;
}
/**
* (no documentation provided)
*/
- public function getErrorMsg() {
- return $this->errorMsg;
+ public function getQueryCost() {
+ return $this->queryCost;
}
/**
* (no documentation provided)
*/
- public function setErrorMsg($errorMsg) {
- $this->errorMsg = $errorMsg;
+ public function setQueryCost($queryCost) {
+ $this->queryCost = $queryCost;
}
/**
* (no documentation provided)
*/
- public function getObyWeight() {
- return $this->obyWeight;
+ public function getTableWeights() {
+ return $this->tableWeights;
}
/**
* (no documentation provided)
*/
- public function setObyWeight($obyWeight) {
- $this->obyWeight = $obyWeight;
+ public function setTableWeights($tableWeights) {
+ $this->tableWeights = $tableWeights;
}
/**
* (no documentation provided)
*/
- public function getTableWeights() {
- return $this->tableWeights;
+ public function getScanMode() {
+ return $this->scanMode;
}
/**
* (no documentation provided)
*/
- public function setTableWeights($tableWeights) {
- $this->tableWeights = $tableWeights;
+ public function setScanMode($scanMode) {
+ $this->scanMode = $scanMode;
}
/**
* (no documentation provided)
*/
- public function getNumObys() {
- return $this->numObys;
+ public function getNumSelDi() {
+ return $this->numSelDi;
}
/**
* (no documentation provided)
*/
- public function setNumObys($numObys) {
- $this->numObys = $numObys;
+ public function setNumSelDi($numSelDi) {
+ $this->numSelDi = $numSelDi;
}
/**
* (no documentation provided)
*/
- public function getNumSels() {
- return $this->numSels;
+ public function getHavingWeight() {
+ return $this->havingWeight;
}
/**
* (no documentation provided)
*/
- public function setNumSels($numSels) {
- $this->numSels = $numSels;
+ public function setHavingWeight($havingWeight) {
+ $this->havingWeight = $havingWeight;
}
/**
* (no documentation provided)
*/
- public function getHasSubQuery() {
- return $this->hasSubQuery;
+ public function getError() {
+ return $this->error;
}
/**
* (no documentation provided)
*/
- public function setHasSubQuery($hasSubQuery) {
- $this->hasSubQuery = $hasSubQuery;
+ public function setError($error) {
+ $this->error = $error;
}
/**
* (no documentation provided)
*/
- public function getExecMode() {
- return $this->execMode;
+ public function getFilterWeight() {
+ return $this->filterWeight;
}
/**
* (no documentation provided)
*/
- public function setExecMode($execMode) {
- $this->execMode = $execMode;
+ public function setFilterWeight($filterWeight) {
+ $this->filterWeight = $filterWeight;
}
/**
* (no documentation provided)
*/
- public function getHavingWeight() {
- return $this->havingWeight;
+ public function getErrorMsg() {
+ return $this->errorMsg;
}
/**
* (no documentation provided)
*/
- public function setHavingWeight($havingWeight) {
- $this->havingWeight = $havingWeight;
+ public function setErrorMsg($errorMsg) {
+ $this->errorMsg = $errorMsg;
}
/**
* (no documentation provided)
*/
- public function getJoinWeight() {
- return $this->joinWeight;
+ public function getPlanString() {
+ return $this->planString;
}
/**
* (no documentation provided)
*/
- public function setJoinWeight($joinWeight) {
- $this->joinWeight = $joinWeight;
+ public function setPlanString($planString) {
+ $this->planString = $planString;
}
/**
* (no documentation provided)
*/
- public function getError() {
- return $this->error;
+ public function getNumObys() {
+ return $this->numObys;
}
/**
* (no documentation provided)
*/
- public function setError($error) {
- $this->error = $error;
+ public function setNumObys($numObys) {
+ $this->numObys = $numObys;
}
/**
* (no documentation provided)
*/
- public function getGbyWeight() {
- return $this->gbyWeight;
+ public function getObyWeight() {
+ return $this->obyWeight;
}
/**
* (no documentation provided)
*/
- public function setGbyWeight($gbyWeight) {
- $this->gbyWeight = $gbyWeight;
+ public function setObyWeight($obyWeight) {
+ $this->obyWeight = $obyWeight;
}
/**
* (no documentation provided)
*/
- public function getNumJoins() {
- return $this->numJoins;
+ public function getExecMode() {
+ return $this->execMode;
}
/**
* (no documentation provided)
*/
- public function setNumJoins($numJoins) {
- $this->numJoins = $numJoins;
+ public function setExecMode($execMode) {
+ $this->execMode = $execMode;
}
/**
* (no documentation provided)
*/
- public function getTablesQueried() {
- return $this->tablesQueried;
+ public function getSelectWeight() {
+ return $this->selectWeight;
}
/**
* (no documentation provided)
*/
- public function setTablesQueried($tablesQueried) {
- $this->tablesQueried = $tablesQueried;
+ public function setSelectWeight($selectWeight) {
+ $this->selectWeight = $selectWeight;
}
/**
* (no documentation provided)
*/
- public function getNumFilters() {
- return $this->numFilters;
+ public function getGbyWeight() {
+ return $this->gbyWeight;
}
/**
* (no documentation provided)
*/
- public function setNumFilters($numFilters) {
- $this->numFilters = $numFilters;
+ public function setGbyWeight($gbyWeight) {
+ $this->gbyWeight = $gbyWeight;
}
/**
* (no documentation provided)
*/
- public function getNumAggrExprs() {
- return $this->numAggrExprs;
+ public function getNumFilters() {
+ return $this->numFilters;
}
/**
* (no documentation provided)
*/
- public function setNumAggrExprs($numAggrExprs) {
- $this->numAggrExprs = $numAggrExprs;
+ public function setNumFilters($numFilters) {
+ $this->numFilters = $numFilters;
}
/**
* (no documentation provided)
*/
- public function getScanMode() {
- return $this->scanMode;
+ public function getHasSubQuery() {
+ return $this->hasSubQuery;
}
/**
* (no documentation provided)
*/
- public function setScanMode($scanMode) {
- $this->scanMode = $scanMode;
+ public function setHasSubQuery($hasSubQuery) {
+ $this->hasSubQuery = $hasSubQuery;
}
/**
* (no documentation provided)
*/
- public function getSelectWeight() {
- return $this->selectWeight;
+ public function getNumGbys() {
+ return $this->numGbys;
}
/**
* (no documentation provided)
*/
- public function setSelectWeight($selectWeight) {
- $this->selectWeight = $selectWeight;
+ public function setNumGbys($numGbys) {
+ $this->numGbys = $numGbys;
}
/**
* (no documentation provided)
*/
- public function getNumHaving() {
- return $this->numHaving;
+ public function getTablesQueried() {
+ return $this->tablesQueried;
}
/**
* (no documentation provided)
*/
- public function setNumHaving($numHaving) {
- $this->numHaving = $numHaving;
+ public function setTablesQueried($tablesQueried) {
+ $this->tablesQueried = $tablesQueried;
}
/**
* (no documentation provided)
*/
- public function getFilterWeight() {
- return $this->filterWeight;
+ public function getNumAggrExprs() {
+ return $this->numAggrExprs;
}
/**
* (no documentation provided)
*/
- public function setFilterWeight($filterWeight) {
- $this->filterWeight = $filterWeight;
+ public function setNumAggrExprs($numAggrExprs) {
+ $this->numAggrExprs = $numAggrExprs;
}
/**
* (no documentation provided)
*/
- public function getNumSelDi() {
- return $this->numSelDi;
+ public function getNumHaving() {
+ return $this->numHaving;
}
/**
* (no documentation provided)
*/
- public function setNumSelDi($numSelDi) {
- $this->numSelDi = $numSelDi;
+ public function setNumHaving($numHaving) {
+ $this->numHaving = $numHaving;
}
/**
* (no documentation provided)
*/
- public function getPrepareHandle() {
- return $this->prepareHandle;
+ public function getNumJoins() {
+ return $this->numJoins;
}
/**
* (no documentation provided)
*/
- public function setPrepareHandle($prepareHandle) {
- $this->prepareHandle = $prepareHandle;
+ public function setNumJoins($numJoins) {
+ $this->numJoins = $numJoins;
}
/**
* (no documentation provided)
*/
- public function getNumGbys() {
- return $this->numGbys;
+ public function getPrepareHandle() {
+ return $this->prepareHandle;
}
/**
* (no documentation provided)
*/
- public function setNumGbys($numGbys) {
- $this->numGbys = $numGbys;
+ public function setPrepareHandle($prepareHandle) {
+ $this->prepareHandle = $prepareHandle;
}
/**
* (no documentation provided)
*/
- public function getQueryCost() {
- return $this->queryCost;
+ public function getNumSels() {
+ return $this->numSels;
}
/**
* (no documentation provided)
*/
- public function setQueryCost($queryCost) {
- $this->queryCost = $queryCost;
+ public function setNumSels($numSels) {
+ $this->numSels = $numSels;
}
/**
* Returns the associative array for this QueryPlan
*/
public function toArray() {
$a = parent::toArray();
- if( $this->planString ) {
- $a["planString"] = $this->planString;
- }
- if( $this->errorMsg ) {
- $a["errorMsg"] = $this->errorMsg;
+ if( $this->joinWeight ) {
+ $a["joinWeight"] = $this->joinWeight;
}
- if( $this->obyWeight ) {
- $a["obyWeight"] = $this->obyWeight;
+ if( $this->queryCost ) {
+ $a["queryCost"] = $this->queryCost->toArray();
}
if( $this->tableWeights ) {
$a["tableWeights"] = $this->tableWeights;
}
- if( $this->numObys ) {
- $a["numObys"] = $this->numObys;
- }
- if( $this->numSels ) {
- $a["numSels"] = $this->numSels;
- }
- if( $this->hasSubQuery ) {
- $a["hasSubQuery"] = $this->hasSubQuery;
+ if( $this->scanMode ) {
+ $a["scanMode"] = $this->scanMode;
}
- if( $this->execMode ) {
- $a["execMode"] = $this->execMode;
+ if( $this->numSelDi ) {
+ $a["numSelDi"] = $this->numSelDi;
}
if( $this->havingWeight ) {
$a["havingWeight"] = $this->havingWeight;
}
- if( $this->joinWeight ) {
- $a["joinWeight"] = $this->joinWeight;
- }
if( $this->error ) {
$a["error"] = $this->error;
}
+ if( $this->filterWeight ) {
+ $a["filterWeight"] = $this->filterWeight;
+ }
+ if( $this->errorMsg ) {
+ $a["errorMsg"] = $this->errorMsg;
+ }
+ if( $this->planString ) {
+ $a["planString"] = $this->planString;
+ }
+ if( $this->numObys ) {
+ $a["numObys"] = $this->numObys;
+ }
+ if( $this->obyWeight ) {
+ $a["obyWeight"] = $this->obyWeight;
+ }
+ if( $this->execMode ) {
+ $a["execMode"] = $this->execMode;
+ }
+ if( $this->selectWeight ) {
+ $a["selectWeight"] = $this->selectWeight;
+ }
if( $this->gbyWeight ) {
$a["gbyWeight"] = $this->gbyWeight;
}
- if( $this->numJoins ) {
- $a["numJoins"] = $this->numJoins;
+ if( $this->numFilters ) {
+ $a["numFilters"] = $this->numFilters;
+ }
+ if( $this->hasSubQuery ) {
+ $a["hasSubQuery"] = $this->hasSubQuery;
+ }
+ if( $this->numGbys ) {
+ $a["numGbys"] = $this->numGbys;
}
if( $this->tablesQueried ) {
$ab = array();
@@ -2282,35 +2297,20 @@
}
$a['tablesQueried'] = $ab;
}
- if( $this->numFilters ) {
- $a["numFilters"] = $this->numFilters;
- }
if( $this->numAggrExprs ) {
$a["numAggrExprs"] = $this->numAggrExprs;
}
- if( $this->scanMode ) {
- $a["scanMode"] = $this->scanMode;
- }
- if( $this->selectWeight ) {
- $a["selectWeight"] = $this->selectWeight;
- }
if( $this->numHaving ) {
$a["numHaving"] = $this->numHaving;
}
- if( $this->filterWeight ) {
- $a["filterWeight"] = $this->filterWeight;
- }
- if( $this->numSelDi ) {
- $a["numSelDi"] = $this->numSelDi;
+ if( $this->numJoins ) {
+ $a["numJoins"] = $this->numJoins;
}
if( $this->prepareHandle ) {
$a["prepareHandle"] = $this->prepareHandle->toArray();
}
- if( $this->numGbys ) {
- $a["numGbys"] = $this->numGbys;
- }
- if( $this->queryCost ) {
- $a["queryCost"] = $this->queryCost->toArray();
+ if( $this->numSels ) {
+ $a["numSels"] = $this->numSels;
}
return $a;
}
@@ -2321,44 +2321,59 @@
*/
public function initFromArray($o) {
parent::initFromArray($o);
- if( isset($o['planString']) ) {
- $this->planString = $o["planString"];
- }
- if( isset($o['errorMsg']) ) {
- $this->errorMsg = $o["errorMsg"];
+ if( isset($o['joinWeight']) ) {
+ $this->joinWeight = $o["joinWeight"];
}
- if( isset($o['obyWeight']) ) {
- $this->obyWeight = $o["obyWeight"];
+ if( isset($o['queryCost']) ) {
+ $this->queryCost = new \Org\Apache\Lens\Api\Query\QueryCost($o["queryCost"]);
}
if( isset($o['tableWeights']) ) {
$this->tableWeights = $o["tableWeights"];
}
- if( isset($o['numObys']) ) {
- $this->numObys = $o["numObys"];
- }
- if( isset($o['numSels']) ) {
- $this->numSels = $o["numSels"];
- }
- if( isset($o['hasSubQuery']) ) {
- $this->hasSubQuery = $o["hasSubQuery"];
+ if( isset($o['scanMode']) ) {
+ $this->scanMode = $o["scanMode"];
}
- if( isset($o['execMode']) ) {
- $this->execMode = $o["execMode"];
+ if( isset($o['numSelDi']) ) {
+ $this->numSelDi = $o["numSelDi"];
}
if( isset($o['havingWeight']) ) {
$this->havingWeight = $o["havingWeight"];
}
- if( isset($o['joinWeight']) ) {
- $this->joinWeight = $o["joinWeight"];
- }
if( isset($o['error']) ) {
$this->error = $o["error"];
}
+ if( isset($o['filterWeight']) ) {
+ $this->filterWeight = $o["filterWeight"];
+ }
+ if( isset($o['errorMsg']) ) {
+ $this->errorMsg = $o["errorMsg"];
+ }
+ if( isset($o['planString']) ) {
+ $this->planString = $o["planString"];
+ }
+ if( isset($o['numObys']) ) {
+ $this->numObys = $o["numObys"];
+ }
+ if( isset($o['obyWeight']) ) {
+ $this->obyWeight = $o["obyWeight"];
+ }
+ if( isset($o['execMode']) ) {
+ $this->execMode = $o["execMode"];
+ }
+ if( isset($o['selectWeight']) ) {
+ $this->selectWeight = $o["selectWeight"];
+ }
if( isset($o['gbyWeight']) ) {
$this->gbyWeight = $o["gbyWeight"];
}
- if( isset($o['numJoins']) ) {
- $this->numJoins = $o["numJoins"];
+ if( isset($o['numFilters']) ) {
+ $this->numFilters = $o["numFilters"];
+ }
+ if( isset($o['hasSubQuery']) ) {
+ $this->hasSubQuery = $o["hasSubQuery"];
+ }
+ if( isset($o['numGbys']) ) {
+ $this->numGbys = $o["numGbys"];
}
$this->tablesQueried = array();
if( isset($o['tablesQueried']) ) {
@@ -2366,35 +2381,20 @@
$this->tablesQueried[$i] = $x;
}
}
- if( isset($o['numFilters']) ) {
- $this->numFilters = $o["numFilters"];
- }
if( isset($o['numAggrExprs']) ) {
$this->numAggrExprs = $o["numAggrExprs"];
}
- if( isset($o['scanMode']) ) {
- $this->scanMode = $o["scanMode"];
- }
- if( isset($o['selectWeight']) ) {
- $this->selectWeight = $o["selectWeight"];
- }
if( isset($o['numHaving']) ) {
$this->numHaving = $o["numHaving"];
}
- if( isset($o['filterWeight']) ) {
- $this->filterWeight = $o["filterWeight"];
- }
- if( isset($o['numSelDi']) ) {
- $this->numSelDi = $o["numSelDi"];
+ if( isset($o['numJoins']) ) {
+ $this->numJoins = $o["numJoins"];
}
if( isset($o['prepareHandle']) ) {
$this->prepareHandle = new \Org\Apache\Lens\Api\Query\QueryPrepareHandle($o["prepareHandle"]);
}
- if( isset($o['numGbys']) ) {
- $this->numGbys = $o["numGbys"];
- }
- if( isset($o['queryCost']) ) {
- $this->queryCost = new \Org\Apache\Lens\Api\Query\QueryCost($o["queryCost"]);
+ if( isset($o['numSels']) ) {
+ $this->numSels = $o["numSels"];
}
}
Modified: incubator/lens/site/publish/current/lens-server/wsdocs/lens.rb
URL: http://svn.apache.org/viewvc/incubator/lens/site/publish/current/lens-server/wsdocs/lens.rb?rev=1660778&r1=1660777&r2=1660778&view=diff
==============================================================================
--- incubator/lens/site/publish/current/lens-server/wsdocs/lens.rb (original)
+++ incubator/lens/site/publish/current/lens-server/wsdocs/lens.rb Thu Feb 19 01:22:56 2015
@@ -245,28 +245,28 @@ module Query
# (no documentation provided)
attr_accessor :preparedTime
# (no documentation provided)
- attr_accessor :prepareHandle
- # (no documentation provided)
attr_accessor :driverQuery
# (no documentation provided)
- attr_accessor :preparedUser
+ attr_accessor :conf
# (no documentation provided)
attr_accessor :userQuery
# (no documentation provided)
attr_accessor :selectedDriverClassName
# (no documentation provided)
- attr_accessor :conf
+ attr_accessor :preparedUser
+ # (no documentation provided)
+ attr_accessor :prepareHandle
# the json hash for this LensPreparedQuery
def to_jaxb_json_hash
_h = {}
_h['preparedTime'] = preparedTime.to_jaxb_json_hash unless preparedTime.nil?
- _h['prepareHandle'] = prepareHandle.to_jaxb_json_hash unless prepareHandle.nil?
_h['driverQuery'] = driverQuery.to_jaxb_json_hash unless driverQuery.nil?
- _h['preparedUser'] = preparedUser.to_jaxb_json_hash unless preparedUser.nil?
+ _h['conf'] = conf.to_jaxb_json_hash unless conf.nil?
_h['userQuery'] = userQuery.to_jaxb_json_hash unless userQuery.nil?
_h['selectedDriverClassName'] = selectedDriverClassName.to_jaxb_json_hash unless selectedDriverClassName.nil?
- _h['conf'] = conf.to_jaxb_json_hash unless conf.nil?
+ _h['preparedUser'] = preparedUser.to_jaxb_json_hash unless preparedUser.nil?
+ _h['prepareHandle'] = prepareHandle.to_jaxb_json_hash unless prepareHandle.nil?
return _h
end
@@ -278,12 +278,12 @@ module Query
#initializes this LensPreparedQuery with a json hash
def init_jaxb_json_hash(_o)
@preparedTime = Time.from_json(_o['preparedTime']) unless _o['preparedTime'].nil?
- @prepareHandle = Org::Apache::Lens::Api::Query::QueryPrepareHandle.from_json(_o['prepareHandle']) unless _o['prepareHandle'].nil?
@driverQuery = String.from_json(_o['driverQuery']) unless _o['driverQuery'].nil?
- @preparedUser = String.from_json(_o['preparedUser']) unless _o['preparedUser'].nil?
+ @conf = Org::Apache::Lens::Api::LensConf.from_json(_o['conf']) unless _o['conf'].nil?
@userQuery = String.from_json(_o['userQuery']) unless _o['userQuery'].nil?
@selectedDriverClassName = String.from_json(_o['selectedDriverClassName']) unless _o['selectedDriverClassName'].nil?
- @conf = Org::Apache::Lens::Api::LensConf.from_json(_o['conf']) unless _o['conf'].nil?
+ @preparedUser = String.from_json(_o['preparedUser']) unless _o['preparedUser'].nil?
+ @prepareHandle = Org::Apache::Lens::Api::Query::QueryPrepareHandle.from_json(_o['prepareHandle']) unless _o['prepareHandle'].nil?
end
# constructs a LensPreparedQuery from a (parsed) JSON hash
@@ -322,63 +322,63 @@ module Query
class LensQuery
# (no documentation provided)
+ attr_accessor :driverOpHandle
+ # (no documentation provided)
+ attr_accessor :submissionTime
+ # (no documentation provided)
attr_accessor :submittedUser
# (no documentation provided)
- attr_accessor :launchTime
+ attr_accessor :driverQuery
+ # (no documentation provided)
+ attr_accessor :userQuery
+ # (no documentation provided)
+ attr_accessor :isPersistent
# (no documentation provided)
attr_accessor :queryHandle
# (no documentation provided)
attr_accessor :status
# (no documentation provided)
- attr_accessor :userQuery
- # (no documentation provided)
attr_accessor :driverStartTime
# (no documentation provided)
- attr_accessor :finishTime
- # (no documentation provided)
attr_accessor :queryName
# (no documentation provided)
- attr_accessor :resultSetPath
- # (no documentation provided)
- attr_accessor :driverOpHandle
+ attr_accessor :closedTime
# (no documentation provided)
attr_accessor :selectedDriverClassName
# (no documentation provided)
- attr_accessor :driverQuery
+ attr_accessor :resultSetPath
# (no documentation provided)
attr_accessor :driverFinishTime
# (no documentation provided)
- attr_accessor :submissionTime
+ attr_accessor :launchTime
# (no documentation provided)
attr_accessor :priority
# (no documentation provided)
- attr_accessor :queryConf
- # (no documentation provided)
- attr_accessor :isPersistent
+ attr_accessor :finishTime
# (no documentation provided)
- attr_accessor :closedTime
+ attr_accessor :queryConf
# the json hash for this LensQuery
def to_jaxb_json_hash
_h = {}
+ _h['driverOpHandle'] = driverOpHandle.to_jaxb_json_hash unless driverOpHandle.nil?
+ _h['submissionTime'] = submissionTime.to_jaxb_json_hash unless submissionTime.nil?
_h['submittedUser'] = submittedUser.to_jaxb_json_hash unless submittedUser.nil?
- _h['launchTime'] = launchTime.to_jaxb_json_hash unless launchTime.nil?
+ _h['driverQuery'] = driverQuery.to_jaxb_json_hash unless driverQuery.nil?
+ _h['userQuery'] = userQuery.to_jaxb_json_hash unless userQuery.nil?
+ _h['isPersistent'] = isPersistent.to_jaxb_json_hash unless isPersistent.nil?
_h['queryHandle'] = queryHandle.to_jaxb_json_hash unless queryHandle.nil?
_h['status'] = status.to_jaxb_json_hash unless status.nil?
- _h['userQuery'] = userQuery.to_jaxb_json_hash unless userQuery.nil?
_h['driverStartTime'] = driverStartTime.to_jaxb_json_hash unless driverStartTime.nil?
- _h['finishTime'] = finishTime.to_jaxb_json_hash unless finishTime.nil?
_h['queryName'] = queryName.to_jaxb_json_hash unless queryName.nil?
- _h['resultSetPath'] = resultSetPath.to_jaxb_json_hash unless resultSetPath.nil?
- _h['driverOpHandle'] = driverOpHandle.to_jaxb_json_hash unless driverOpHandle.nil?
+ _h['closedTime'] = closedTime.to_jaxb_json_hash unless closedTime.nil?
_h['selectedDriverClassName'] = selectedDriverClassName.to_jaxb_json_hash unless selectedDriverClassName.nil?
- _h['driverQuery'] = driverQuery.to_jaxb_json_hash unless driverQuery.nil?
+ _h['resultSetPath'] = resultSetPath.to_jaxb_json_hash unless resultSetPath.nil?
_h['driverFinishTime'] = driverFinishTime.to_jaxb_json_hash unless driverFinishTime.nil?
- _h['submissionTime'] = submissionTime.to_jaxb_json_hash unless submissionTime.nil?
+ _h['launchTime'] = launchTime.to_jaxb_json_hash unless launchTime.nil?
_h['priority'] = priority.to_jaxb_json_hash unless priority.nil?
+ _h['finishTime'] = finishTime.to_jaxb_json_hash unless finishTime.nil?
_h['queryConf'] = queryConf.to_jaxb_json_hash unless queryConf.nil?
- _h['isPersistent'] = isPersistent.to_jaxb_json_hash unless isPersistent.nil?
- _h['closedTime'] = closedTime.to_jaxb_json_hash unless closedTime.nil?
return _h
end
@@ -389,24 +389,24 @@ module Query
#initializes this LensQuery with a json hash
def init_jaxb_json_hash(_o)
+ @driverOpHandle = String.from_json(_o['driverOpHandle']) unless _o['driverOpHandle'].nil?
+ @submissionTime = Bignum.from_json(_o['submissionTime']) unless _o['submissionTime'].nil?
@submittedUser = String.from_json(_o['submittedUser']) unless _o['submittedUser'].nil?
- @launchTime = Bignum.from_json(_o['launchTime']) unless _o['launchTime'].nil?
+ @driverQuery = String.from_json(_o['driverQuery']) unless _o['driverQuery'].nil?
+ @userQuery = String.from_json(_o['userQuery']) unless _o['userQuery'].nil?
+ @isPersistent = Boolean.from_json(_o['isPersistent']) unless _o['isPersistent'].nil?
@queryHandle = Org::Apache::Lens::Api::Query::QueryHandle.from_json(_o['queryHandle']) unless _o['queryHandle'].nil?
@status = Org::Apache::Lens::Api::Query::QueryStatus.from_json(_o['status']) unless _o['status'].nil?
- @userQuery = String.from_json(_o['userQuery']) unless _o['userQuery'].nil?
@driverStartTime = Bignum.from_json(_o['driverStartTime']) unless _o['driverStartTime'].nil?
- @finishTime = Bignum.from_json(_o['finishTime']) unless _o['finishTime'].nil?
@queryName = String.from_json(_o['queryName']) unless _o['queryName'].nil?
- @resultSetPath = String.from_json(_o['resultSetPath']) unless _o['resultSetPath'].nil?
- @driverOpHandle = String.from_json(_o['driverOpHandle']) unless _o['driverOpHandle'].nil?
+ @closedTime = Bignum.from_json(_o['closedTime']) unless _o['closedTime'].nil?
@selectedDriverClassName = String.from_json(_o['selectedDriverClassName']) unless _o['selectedDriverClassName'].nil?
- @driverQuery = String.from_json(_o['driverQuery']) unless _o['driverQuery'].nil?
+ @resultSetPath = String.from_json(_o['resultSetPath']) unless _o['resultSetPath'].nil?
@driverFinishTime = Bignum.from_json(_o['driverFinishTime']) unless _o['driverFinishTime'].nil?
- @submissionTime = Bignum.from_json(_o['submissionTime']) unless _o['submissionTime'].nil?
+ @launchTime = Bignum.from_json(_o['launchTime']) unless _o['launchTime'].nil?
@priority = String.from_json(_o['priority']) unless _o['priority'].nil?
+ @finishTime = Bignum.from_json(_o['finishTime']) unless _o['finishTime'].nil?
@queryConf = Org::Apache::Lens::Api::LensConf.from_json(_o['queryConf']) unless _o['queryConf'].nil?
- @isPersistent = Boolean.from_json(_o['isPersistent']) unless _o['isPersistent'].nil?
- @closedTime = Bignum.from_json(_o['closedTime']) unless _o['closedTime'].nil?
end
# constructs a LensQuery from a (parsed) JSON hash
@@ -445,15 +445,15 @@ module Query
class QueryCost
# (no documentation provided)
- attr_accessor :estimatedResourceUsage
- # (no documentation provided)
attr_accessor :estimatedExecTimeMillis
+ # (no documentation provided)
+ attr_accessor :estimatedResourceUsage
# the json hash for this QueryCost
def to_jaxb_json_hash
_h = {}
- _h['estimatedResourceUsage'] = estimatedResourceUsage.to_jaxb_json_hash unless estimatedResourceUsage.nil?
_h['estimatedExecTimeMillis'] = estimatedExecTimeMillis.to_jaxb_json_hash unless estimatedExecTimeMillis.nil?
+ _h['estimatedResourceUsage'] = estimatedResourceUsage.to_jaxb_json_hash unless estimatedResourceUsage.nil?
return _h
end
@@ -464,8 +464,8 @@ module Query
#initializes this QueryCost with a json hash
def init_jaxb_json_hash(_o)
- @estimatedResourceUsage = Float.from_json(_o['estimatedResourceUsage']) unless _o['estimatedResourceUsage'].nil?
@estimatedExecTimeMillis = Bignum.from_json(_o['estimatedExecTimeMillis']) unless _o['estimatedExecTimeMillis'].nil?
+ @estimatedResourceUsage = Float.from_json(_o['estimatedResourceUsage']) unless _o['estimatedResourceUsage'].nil?
end
# constructs a QueryCost from a (parsed) JSON hash
@@ -606,27 +606,27 @@ module Query
class QueryStatus
# (no documentation provided)
- attr_accessor :errorMessage
- # (no documentation provided)
- attr_accessor :statusMessage
+ attr_accessor :status
# (no documentation provided)
attr_accessor :progressMessage
# (no documentation provided)
- attr_accessor :status
+ attr_accessor :errorMessage
+ # (no documentation provided)
+ attr_accessor :progress
# (no documentation provided)
attr_accessor :isResultSetAvailable
# (no documentation provided)
- attr_accessor :progress
+ attr_accessor :statusMessage
# the json hash for this QueryStatus
def to_jaxb_json_hash
_h = {}
- _h['errorMessage'] = errorMessage.to_jaxb_json_hash unless errorMessage.nil?
- _h['statusMessage'] = statusMessage.to_jaxb_json_hash unless statusMessage.nil?
- _h['progressMessage'] = progressMessage.to_jaxb_json_hash unless progressMessage.nil?
_h['status'] = status.to_jaxb_json_hash unless status.nil?
- _h['isResultSetAvailable'] = isResultSetAvailable.to_jaxb_json_hash unless isResultSetAvailable.nil?
+ _h['progressMessage'] = progressMessage.to_jaxb_json_hash unless progressMessage.nil?
+ _h['errorMessage'] = errorMessage.to_jaxb_json_hash unless errorMessage.nil?
_h['progress'] = progress.to_jaxb_json_hash unless progress.nil?
+ _h['isResultSetAvailable'] = isResultSetAvailable.to_jaxb_json_hash unless isResultSetAvailable.nil?
+ _h['statusMessage'] = statusMessage.to_jaxb_json_hash unless statusMessage.nil?
return _h
end
@@ -637,12 +637,12 @@ module Query
#initializes this QueryStatus with a json hash
def init_jaxb_json_hash(_o)
- @errorMessage = String.from_json(_o['errorMessage']) unless _o['errorMessage'].nil?
- @statusMessage = String.from_json(_o['statusMessage']) unless _o['statusMessage'].nil?
- @progressMessage = String.from_json(_o['progressMessage']) unless _o['progressMessage'].nil?
@status = String.from_json(_o['status']) unless _o['status'].nil?
- @isResultSetAvailable = Boolean.from_json(_o['isResultSetAvailable']) unless _o['isResultSetAvailable'].nil?
+ @progressMessage = String.from_json(_o['progressMessage']) unless _o['progressMessage'].nil?
+ @errorMessage = String.from_json(_o['errorMessage']) unless _o['errorMessage'].nil?
@progress = Float.from_json(_o['progress']) unless _o['progress'].nil?
+ @isResultSetAvailable = Boolean.from_json(_o['isResultSetAvailable']) unless _o['isResultSetAvailable'].nil?
+ @statusMessage = String.from_json(_o['statusMessage']) unless _o['statusMessage'].nil?
end
# constructs a QueryStatus from a (parsed) JSON hash
@@ -1078,119 +1078,119 @@ module Query
class QueryPlan < Org::Apache::Lens::Api::Query::QuerySubmitResult
# (no documentation provided)
- attr_accessor :planString
- # (no documentation provided)
- attr_accessor :errorMsg
+ attr_accessor :joinWeight
# (no documentation provided)
- attr_accessor :obyWeight
+ attr_accessor :queryCost
# (no documentation provided)
attr_accessor :tableWeights
# (no documentation provided)
- attr_accessor :numObys
+ attr_accessor :scanMode
# (no documentation provided)
- attr_accessor :numSels
+ attr_accessor :numSelDi
# (no documentation provided)
- attr_accessor :hasSubQuery
+ attr_accessor :havingWeight
# (no documentation provided)
- attr_accessor :execMode
+ attr_accessor :error
# (no documentation provided)
- attr_accessor :havingWeight
+ attr_accessor :filterWeight
# (no documentation provided)
- attr_accessor :joinWeight
+ attr_accessor :errorMsg
# (no documentation provided)
- attr_accessor :error
+ attr_accessor :planString
# (no documentation provided)
- attr_accessor :gbyWeight
+ attr_accessor :numObys
# (no documentation provided)
- attr_accessor :numJoins
+ attr_accessor :obyWeight
# (no documentation provided)
- attr_accessor :tablesQueried
+ attr_accessor :execMode
+ # (no documentation provided)
+ attr_accessor :selectWeight
+ # (no documentation provided)
+ attr_accessor :gbyWeight
# (no documentation provided)
attr_accessor :numFilters
# (no documentation provided)
- attr_accessor :numAggrExprs
+ attr_accessor :hasSubQuery
# (no documentation provided)
- attr_accessor :scanMode
+ attr_accessor :numGbys
# (no documentation provided)
- attr_accessor :selectWeight
+ attr_accessor :tablesQueried
# (no documentation provided)
- attr_accessor :numHaving
+ attr_accessor :numAggrExprs
# (no documentation provided)
- attr_accessor :filterWeight
+ attr_accessor :numHaving
# (no documentation provided)
- attr_accessor :numSelDi
+ attr_accessor :numJoins
# (no documentation provided)
attr_accessor :prepareHandle
# (no documentation provided)
- attr_accessor :numGbys
- # (no documentation provided)
- attr_accessor :queryCost
+ attr_accessor :numSels
# the json hash for this QueryPlan
def to_jaxb_json_hash
_h = super
- _h['planString'] = planString.to_jaxb_json_hash unless planString.nil?
- _h['errorMsg'] = errorMsg.to_jaxb_json_hash unless errorMsg.nil?
- _h['obyWeight'] = obyWeight.to_jaxb_json_hash unless obyWeight.nil?
+ _h['joinWeight'] = joinWeight.to_jaxb_json_hash unless joinWeight.nil?
+ _h['queryCost'] = queryCost.to_jaxb_json_hash unless queryCost.nil?
_h['tableWeights'] = tableWeights.to_jaxb_json_hash unless tableWeights.nil?
- _h['numObys'] = numObys.to_jaxb_json_hash unless numObys.nil?
- _h['numSels'] = numSels.to_jaxb_json_hash unless numSels.nil?
- _h['hasSubQuery'] = hasSubQuery.to_jaxb_json_hash unless hasSubQuery.nil?
- _h['execMode'] = execMode.to_jaxb_json_hash unless execMode.nil?
+ _h['scanMode'] = scanMode.to_jaxb_json_hash unless scanMode.nil?
+ _h['numSelDi'] = numSelDi.to_jaxb_json_hash unless numSelDi.nil?
_h['havingWeight'] = havingWeight.to_jaxb_json_hash unless havingWeight.nil?
- _h['joinWeight'] = joinWeight.to_jaxb_json_hash unless joinWeight.nil?
_h['error'] = error.to_jaxb_json_hash unless error.nil?
+ _h['filterWeight'] = filterWeight.to_jaxb_json_hash unless filterWeight.nil?
+ _h['errorMsg'] = errorMsg.to_jaxb_json_hash unless errorMsg.nil?
+ _h['planString'] = planString.to_jaxb_json_hash unless planString.nil?
+ _h['numObys'] = numObys.to_jaxb_json_hash unless numObys.nil?
+ _h['obyWeight'] = obyWeight.to_jaxb_json_hash unless obyWeight.nil?
+ _h['execMode'] = execMode.to_jaxb_json_hash unless execMode.nil?
+ _h['selectWeight'] = selectWeight.to_jaxb_json_hash unless selectWeight.nil?
_h['gbyWeight'] = gbyWeight.to_jaxb_json_hash unless gbyWeight.nil?
- _h['numJoins'] = numJoins.to_jaxb_json_hash unless numJoins.nil?
+ _h['numFilters'] = numFilters.to_jaxb_json_hash unless numFilters.nil?
+ _h['hasSubQuery'] = hasSubQuery.to_jaxb_json_hash unless hasSubQuery.nil?
+ _h['numGbys'] = numGbys.to_jaxb_json_hash unless numGbys.nil?
if !tablesQueried.nil?
_ha = Array.new
tablesQueried.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['tablesQueried'] = _ha
end
- _h['numFilters'] = numFilters.to_jaxb_json_hash unless numFilters.nil?
_h['numAggrExprs'] = numAggrExprs.to_jaxb_json_hash unless numAggrExprs.nil?
- _h['scanMode'] = scanMode.to_jaxb_json_hash unless scanMode.nil?
- _h['selectWeight'] = selectWeight.to_jaxb_json_hash unless selectWeight.nil?
_h['numHaving'] = numHaving.to_jaxb_json_hash unless numHaving.nil?
- _h['filterWeight'] = filterWeight.to_jaxb_json_hash unless filterWeight.nil?
- _h['numSelDi'] = numSelDi.to_jaxb_json_hash unless numSelDi.nil?
+ _h['numJoins'] = numJoins.to_jaxb_json_hash unless numJoins.nil?
_h['prepareHandle'] = prepareHandle.to_jaxb_json_hash unless prepareHandle.nil?
- _h['numGbys'] = numGbys.to_jaxb_json_hash unless numGbys.nil?
- _h['queryCost'] = queryCost.to_jaxb_json_hash unless queryCost.nil?
+ _h['numSels'] = numSels.to_jaxb_json_hash unless numSels.nil?
return _h
end
#initializes this QueryPlan with a json hash
def init_jaxb_json_hash(_o)
super _o
- @planString = String.from_json(_o['planString']) unless _o['planString'].nil?
- @errorMsg = String.from_json(_o['errorMsg']) unless _o['errorMsg'].nil?
- @obyWeight = Float.from_json(_o['obyWeight']) unless _o['obyWeight'].nil?
+ @joinWeight = Float.from_json(_o['joinWeight']) unless _o['joinWeight'].nil?
+ @queryCost = Org::Apache::Lens::Api::Query::QueryCost.from_json(_o['queryCost']) unless _o['queryCost'].nil?
@tableWeights = Hash.from_json(_o['tableWeights']) unless _o['tableWeights'].nil?
- @numObys = Fixnum.from_json(_o['numObys']) unless _o['numObys'].nil?
- @numSels = Fixnum.from_json(_o['numSels']) unless _o['numSels'].nil?
- @hasSubQuery = Boolean.from_json(_o['hasSubQuery']) unless _o['hasSubQuery'].nil?
- @execMode = String.from_json(_o['execMode']) unless _o['execMode'].nil?
+ @scanMode = String.from_json(_o['scanMode']) unless _o['scanMode'].nil?
+ @numSelDi = Fixnum.from_json(_o['numSelDi']) unless _o['numSelDi'].nil?
@havingWeight = Float.from_json(_o['havingWeight']) unless _o['havingWeight'].nil?
- @joinWeight = Float.from_json(_o['joinWeight']) unless _o['joinWeight'].nil?
@error = Boolean.from_json(_o['error']) unless _o['error'].nil?
+ @filterWeight = Float.from_json(_o['filterWeight']) unless _o['filterWeight'].nil?
+ @errorMsg = String.from_json(_o['errorMsg']) unless _o['errorMsg'].nil?
+ @planString = String.from_json(_o['planString']) unless _o['planString'].nil?
+ @numObys = Fixnum.from_json(_o['numObys']) unless _o['numObys'].nil?
+ @obyWeight = Float.from_json(_o['obyWeight']) unless _o['obyWeight'].nil?
+ @execMode = String.from_json(_o['execMode']) unless _o['execMode'].nil?
+ @selectWeight = Float.from_json(_o['selectWeight']) unless _o['selectWeight'].nil?
@gbyWeight = Float.from_json(_o['gbyWeight']) unless _o['gbyWeight'].nil?
- @numJoins = Fixnum.from_json(_o['numJoins']) unless _o['numJoins'].nil?
+ @numFilters = Fixnum.from_json(_o['numFilters']) unless _o['numFilters'].nil?
+ @hasSubQuery = Boolean.from_json(_o['hasSubQuery']) unless _o['hasSubQuery'].nil?
+ @numGbys = Fixnum.from_json(_o['numGbys']) unless _o['numGbys'].nil?
if !_o['tablesQueried'].nil?
@tablesQueried = Array.new
_oa = _o['tablesQueried']
_oa.each { | _item | @tablesQueried.push String.from_json(_item) }
end
- @numFilters = Fixnum.from_json(_o['numFilters']) unless _o['numFilters'].nil?
@numAggrExprs = Fixnum.from_json(_o['numAggrExprs']) unless _o['numAggrExprs'].nil?
- @scanMode = String.from_json(_o['scanMode']) unless _o['scanMode'].nil?
- @selectWeight = Float.from_json(_o['selectWeight']) unless _o['selectWeight'].nil?
@numHaving = Fixnum.from_json(_o['numHaving']) unless _o['numHaving'].nil?
- @filterWeight = Float.from_json(_o['filterWeight']) unless _o['filterWeight'].nil?
- @numSelDi = Fixnum.from_json(_o['numSelDi']) unless _o['numSelDi'].nil?
+ @numJoins = Fixnum.from_json(_o['numJoins']) unless _o['numJoins'].nil?
@prepareHandle = Org::Apache::Lens::Api::Query::QueryPrepareHandle.from_json(_o['prepareHandle']) unless _o['prepareHandle'].nil?
- @numGbys = Fixnum.from_json(_o['numGbys']) unless _o['numGbys'].nil?
- @queryCost = Org::Apache::Lens::Api::Query::QueryCost.from_json(_o['queryCost']) unless _o['queryCost'].nil?
+ @numSels = Fixnum.from_json(_o['numSels']) unless _o['numSels'].nil?
end
# constructs a QueryPlan from a (parsed) JSON hash
Modified: incubator/lens/site/publish/current/lens-server/wsdocs/ns0.xsd
URL: http://svn.apache.org/viewvc/incubator/lens/site/publish/current/lens-server/wsdocs/ns0.xsd?rev=1660778&r1=1660777&r2=1660778&view=diff
==============================================================================
--- incubator/lens/site/publish/current/lens-server/wsdocs/ns0.xsd (original)
+++ incubator/lens/site/publish/current/lens-server/wsdocs/ns0.xsd Thu Feb 19 01:22:56 2015
@@ -95,34 +95,34 @@
<xs:complexType name="lensPreparedQuery">
<xs:sequence>
<xs:element name="preparedTime" type="xs:dateTime" minOccurs="0"/>
- <xs:element name="prepareHandle" type="queryPrepareHandle" minOccurs="0"/>
<xs:element name="driverQuery" type="xs:string" minOccurs="0"/>
- <xs:element name="preparedUser" type="xs:string" minOccurs="0"/>
+ <xs:element name="conf" type="lensConf" minOccurs="0"/>
<xs:element name="userQuery" type="xs:string" minOccurs="0"/>
<xs:element name="selectedDriverClassName" type="xs:string" minOccurs="0"/>
- <xs:element name="conf" type="lensConf" minOccurs="0"/>
+ <xs:element name="preparedUser" type="xs:string" minOccurs="0"/>
+ <xs:element name="prepareHandle" type="queryPrepareHandle" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="lensQuery">
<xs:sequence>
+ <xs:element name="driverOpHandle" type="xs:string" minOccurs="0"/>
+ <xs:element name="submissionTime" type="xs:long" minOccurs="1"/>
<xs:element name="submittedUser" type="xs:string" minOccurs="0"/>
- <xs:element name="launchTime" type="xs:long" minOccurs="1"/>
+ <xs:element name="driverQuery" type="xs:string" minOccurs="0"/>
+ <xs:element name="userQuery" type="xs:string" minOccurs="0"/>
+ <xs:element name="isPersistent" type="xs:boolean" minOccurs="1"/>
<xs:element name="queryHandle" type="queryHandle" minOccurs="0"/>
<xs:element name="status" type="queryStatus" minOccurs="0"/>
- <xs:element name="userQuery" type="xs:string" minOccurs="0"/>
<xs:element name="driverStartTime" type="xs:long" minOccurs="1"/>
- <xs:element name="finishTime" type="xs:long" minOccurs="1"/>
<xs:element name="queryName" type="xs:string" minOccurs="0"/>
- <xs:element name="resultSetPath" type="xs:string" minOccurs="0"/>
- <xs:element name="driverOpHandle" type="xs:string" minOccurs="0"/>
+ <xs:element name="closedTime" type="xs:long" minOccurs="1"/>
<xs:element name="selectedDriverClassName" type="xs:string" minOccurs="0"/>
- <xs:element name="driverQuery" type="xs:string" minOccurs="0"/>
+ <xs:element name="resultSetPath" type="xs:string" minOccurs="0"/>
<xs:element name="driverFinishTime" type="xs:long" minOccurs="1"/>
- <xs:element name="submissionTime" type="xs:long" minOccurs="1"/>
+ <xs:element name="launchTime" type="xs:long" minOccurs="1"/>
<xs:element name="priority" type="priority" minOccurs="0"/>
+ <xs:element name="finishTime" type="xs:long" minOccurs="1"/>
<xs:element name="queryConf" type="lensConf" minOccurs="0"/>
- <xs:element name="isPersistent" type="xs:boolean" minOccurs="1"/>
- <xs:element name="closedTime" type="xs:long" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="persistentQueryResult">
@@ -137,8 +137,8 @@
</xs:complexType>
<xs:complexType name="queryCost">
<xs:sequence>
- <xs:element name="estimatedResourceUsage" type="xs:double" minOccurs="1"/>
<xs:element name="estimatedExecTimeMillis" type="xs:long" minOccurs="1"/>
+ <xs:element name="estimatedResourceUsage" type="xs:double" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="queryHandle">
@@ -164,9 +164,8 @@
<xs:complexContent>
<xs:extension base="querySubmitResult">
<xs:sequence>
- <xs:element name="planString" type="xs:string" minOccurs="0"/>
- <xs:element name="errorMsg" type="xs:string" minOccurs="0"/>
- <xs:element name="obyWeight" type="xs:double" minOccurs="0"/>
+ <xs:element name="joinWeight" type="xs:double" minOccurs="0"/>
+ <xs:element name="queryCost" type="queryCost" minOccurs="0"/>
<xs:element name="tableWeights" minOccurs="0">
<xs:complexType>
<xs:sequence>
@@ -181,15 +180,21 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="numObys" type="xs:int" minOccurs="1"/>
- <xs:element name="numSels" type="xs:int" minOccurs="1"/>
- <xs:element name="hasSubQuery" type="xs:boolean" minOccurs="1"/>
- <xs:element name="execMode" type="xs:string" minOccurs="0"/>
+ <xs:element name="scanMode" type="xs:string" minOccurs="0"/>
+ <xs:element name="numSelDi" type="xs:int" minOccurs="1"/>
<xs:element name="havingWeight" type="xs:double" minOccurs="0"/>
- <xs:element name="joinWeight" type="xs:double" minOccurs="0"/>
<xs:element name="error" type="xs:boolean" minOccurs="1"/>
+ <xs:element name="filterWeight" type="xs:double" minOccurs="0"/>
+ <xs:element name="errorMsg" type="xs:string" minOccurs="0"/>
+ <xs:element name="planString" type="xs:string" minOccurs="0"/>
+ <xs:element name="numObys" type="xs:int" minOccurs="1"/>
+ <xs:element name="obyWeight" type="xs:double" minOccurs="0"/>
+ <xs:element name="execMode" type="xs:string" minOccurs="0"/>
+ <xs:element name="selectWeight" type="xs:double" minOccurs="0"/>
<xs:element name="gbyWeight" type="xs:double" minOccurs="0"/>
- <xs:element name="numJoins" type="xs:int" minOccurs="1"/>
+ <xs:element name="numFilters" type="xs:int" minOccurs="1"/>
+ <xs:element name="hasSubQuery" type="xs:boolean" minOccurs="1"/>
+ <xs:element name="numGbys" type="xs:int" minOccurs="1"/>
<xs:element name="tablesQueried" minOccurs="0">
<xs:complexType>
<xs:sequence>
@@ -197,16 +202,11 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="numFilters" type="xs:int" minOccurs="1"/>
<xs:element name="numAggrExprs" type="xs:int" minOccurs="1"/>
- <xs:element name="scanMode" type="xs:string" minOccurs="0"/>
- <xs:element name="selectWeight" type="xs:double" minOccurs="0"/>
<xs:element name="numHaving" type="xs:int" minOccurs="1"/>
- <xs:element name="filterWeight" type="xs:double" minOccurs="0"/>
- <xs:element name="numSelDi" type="xs:int" minOccurs="1"/>
+ <xs:element name="numJoins" type="xs:int" minOccurs="1"/>
<xs:element name="prepareHandle" type="queryPrepareHandle" minOccurs="0"/>
- <xs:element name="numGbys" type="xs:int" minOccurs="1"/>
- <xs:element name="queryCost" type="queryCost" minOccurs="0"/>
+ <xs:element name="numSels" type="xs:int" minOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
@@ -234,12 +234,12 @@
</xs:complexType>
<xs:complexType name="queryStatus">
<xs:sequence>
- <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
- <xs:element name="statusMessage" type="xs:string" minOccurs="0"/>
- <xs:element name="progressMessage" type="xs:string" minOccurs="0"/>
<xs:element name="status" type="status" minOccurs="0"/>
- <xs:element name="isResultSetAvailable" type="xs:boolean" minOccurs="1"/>
+ <xs:element name="progressMessage" type="xs:string" minOccurs="0"/>
+ <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
<xs:element name="progress" type="xs:double" minOccurs="1"/>
+ <xs:element name="isResultSetAvailable" type="xs:boolean" minOccurs="1"/>
+ <xs:element name="statusMessage" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="status">
Modified: incubator/lens/site/publish/current/lens-server/wsdocs/ns0_lensPreparedQuery.html
URL: http://svn.apache.org/viewvc/incubator/lens/site/publish/current/lens-server/wsdocs/ns0_lensPreparedQuery.html?rev=1660778&r1=1660777&r2=1660778&view=diff
==============================================================================
--- incubator/lens/site/publish/current/lens-server/wsdocs/ns0_lensPreparedQuery.html (original)
+++ incubator/lens/site/publish/current/lens-server/wsdocs/ns0_lensPreparedQuery.html Thu Feb 19 01:22:56 2015
@@ -120,7 +120,7 @@
</tr>
<tr>
<td>
- prepareHandle (<a href="ns0_queryPrepareHandle.html">queryPrepareHandle</a>)
+ driverQuery (string)
</td>
<td>0/1</td>
<td>
@@ -128,7 +128,7 @@
</tr>
<tr>
<td>
- driverQuery (string)
+ conf (<a href="ns0_lensConf.html">lensConf</a>)
</td>
<td>0/1</td>
<td>
@@ -136,7 +136,7 @@
</tr>
<tr>
<td>
- preparedUser (string)
+ userQuery (string)
</td>
<td>0/1</td>
<td>
@@ -144,7 +144,7 @@
</tr>
<tr>
<td>
- userQuery (string)
+ selectedDriverClassName (string)
</td>
<td>0/1</td>
<td>
@@ -152,7 +152,7 @@
</tr>
<tr>
<td>
- selectedDriverClassName (string)
+ preparedUser (string)
</td>
<td>0/1</td>
<td>
@@ -160,7 +160,7 @@
</tr>
<tr>
<td>
- conf (<a href="ns0_lensConf.html">lensConf</a>)
+ prepareHandle (<a href="ns0_queryPrepareHandle.html">queryPrepareHandle</a>)
</td>
<td>0/1</td>
<td>
@@ -184,14 +184,6 @@
</td>
</tr>
<tr>
- <td>prepareHandle</td>
- <td>
- prepareHandle (<a href="ns0_queryPrepareHandle.html">queryPrepareHandle</a>)
- </td>
- <td>
- </td>
- </tr>
- <tr>
<td>driverQuery</td>
<td>
driverQuery (string)
@@ -200,9 +192,9 @@
</td>
</tr>
<tr>
- <td>preparedUser</td>
+ <td>conf</td>
<td>
- preparedUser (string)
+ conf (<a href="ns0_lensConf.html">lensConf</a>)
</td>
<td>
</td>
@@ -224,9 +216,17 @@
</td>
</tr>
<tr>
- <td>conf</td>
+ <td>preparedUser</td>
<td>
- conf (<a href="ns0_lensConf.html">lensConf</a>)
+ preparedUser (string)
+ </td>
+ <td>
+ </td>
+ </tr>
+ <tr>
+ <td>prepareHandle</td>
+ <td>
+ prepareHandle (<a href="ns0_queryPrepareHandle.html">queryPrepareHandle</a>)
</td>
<td>
</td>