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

Serialized Form


Package org.apache.lens.api

Class org.apache.lens.api.LensConf extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

properties

Map<K,V> properties
The properties.

Class org.apache.lens.api.LensException extends Exception implements Serializable


Package org.apache.lens.api.query

Class org.apache.lens.api.query.QueryHandle extends QuerySubmitResult implements Serializable

serialVersionUID: 1L

Serialized Fields

handleId

UUID handleId
The handle id.

Class org.apache.lens.api.query.QueryStatus extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

progress

double progress
The progress.


status

QueryStatus.Status status
The status.


statusMessage

String statusMessage
The status message.


isResultSetAvailable

boolean isResultSetAvailable
The is result set available.


progressMessage

String progressMessage
The progress message.


errorMessage

String errorMessage
The error message.


Package org.apache.lens.client.exceptions

Class org.apache.lens.client.exceptions.LensClientException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

message

String message
The message.


cause

Exception cause
The cause.

Class org.apache.lens.client.exceptions.LensClientServerConnectionException extends LensClientException implements Serializable

serialVersionUID: 1L

Serialized Fields

errorCode

int errorCode
The error code.


Package org.apache.lens.cube.metadata

Class org.apache.lens.cube.metadata.StorageTableDesc extends org.apache.hadoop.hive.ql.plan.CreateTableDesc implements Serializable

serialVersionUID: 1L

Serialized Fields

timePartCols

List<E> timePartCols

Package org.apache.lens.cube.parse

Class org.apache.lens.cube.parse.PruneCauses extends HashMap<T extends AbstractCubeTable,List<CandidateTablePruneCause>> implements Serializable

Serialized Fields

reversed

HashMap<K,V> reversed

jsonObject

PruneCauses.BriefAndDetailedError jsonObject

Package org.apache.lens.driver.hive

Class org.apache.lens.driver.hive.HiveDriver extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Package org.apache.lens.driver.jdbc

Class org.apache.lens.driver.jdbc.JDBCDriver extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput arg0)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput arg0)
                   throws IOException
Throws:
IOException

Package org.apache.lens.ml

Class org.apache.lens.ml.ClassifierBaseModel extends MLModel<Double> implements Serializable

Class org.apache.lens.ml.ForecastingModel extends MLModel<MultiPrediction> implements Serializable

Class org.apache.lens.ml.MLModel extends Object implements Serializable

Serialized Fields

id

String id
The id.


createdAt

Date createdAt
The created at.


algoName

String algoName
The algo name.


table

String table
The table.


params

List<E> params
The params.


labelColumn

String labelColumn
The label column.


featureColumns

List<E> featureColumns
The feature columns.

Class org.apache.lens.ml.MLTestReport extends Object implements Serializable

Serialized Fields

testTable

String testTable
The test table.


outputTable

String outputTable
The output table.


outputColumn

String outputColumn
The output column.


labelColumn

String labelColumn
The label column.


featureColumns

List<E> featureColumns
The feature columns.


algorithm

String algorithm
The algorithm.


modelID

String modelID
The model id.


reportID

String reportID
The report id.


queryID

String queryID
The query id.


testOutputPath

String testOutputPath
The test output path.


predictionResultColumn

String predictionResultColumn
The prediction result column.


lensQueryID

String lensQueryID
The lens query id.


Package org.apache.lens.ml.spark

Class org.apache.lens.ml.spark.ColumnFeatureFunction extends FeatureFunction implements Serializable

Serialized Fields

featureValueMappers

FeatureValueMapper[] featureValueMappers
The feature value mappers.


featurePositions

int[] featurePositions
The feature positions.


labelColumnPos

int labelColumnPos
The label column pos.


numFeatures

int numFeatures
The num features.


defaultLabeledPoint

org.apache.spark.mllib.regression.LabeledPoint defaultLabeledPoint
The default labeled point.

Class org.apache.lens.ml.spark.DoubleValueMapper extends FeatureValueMapper implements Serializable

Class org.apache.lens.ml.spark.FeatureFunction extends Object implements Serializable

Class org.apache.lens.ml.spark.FeatureValueMapper extends Object implements Serializable

Class org.apache.lens.ml.spark.TableTrainingSpec extends Object implements Serializable

Serialized Fields

database

String database
The database.


table

String table
The table.


partitionFilter

String partitionFilter
The partition filter.


featureColumns

List<E> featureColumns
The feature columns.


labelColumn

String labelColumn
The label column.


splitTraining

boolean splitTraining
The split training.


trainingFraction

double trainingFraction
The training fraction.


labelPos

int labelPos
The label pos.


featurePositions

int[] featurePositions
The feature positions.


numFeatures

int numFeatures
The num features.

Class org.apache.lens.ml.spark.TableTrainingSpec.DataSample extends Object implements Serializable

Serialized Fields

labeledPoint

org.apache.spark.mllib.regression.LabeledPoint labeledPoint
The labeled point.


sample

double sample
The sample.

Class org.apache.lens.ml.spark.TableTrainingSpec.GetLabeledPoint extends Object implements Serializable

Class org.apache.lens.ml.spark.TableTrainingSpec.TestingFilter extends Object implements Serializable

Serialized Fields

trainingFraction

double trainingFraction
The training fraction.

Class org.apache.lens.ml.spark.TableTrainingSpec.TrainingFilter extends Object implements Serializable

Serialized Fields

trainingFraction

double trainingFraction
The training fraction.


Package org.apache.lens.ml.spark.models

Class org.apache.lens.ml.spark.models.BaseSparkClassificationModel extends ClassifierBaseModel implements Serializable

Serialized Fields

modelId

String modelId
The model id.


sparkModel

org.apache.spark.mllib.classification.ClassificationModel sparkModel
The spark model.

Class org.apache.lens.ml.spark.models.DecisionTreeClassificationModel extends BaseSparkClassificationModel<SparkDecisionTreeModel> implements Serializable

Class org.apache.lens.ml.spark.models.KMeansClusteringModel extends MLModel<Integer> implements Serializable

Serialized Fields

model

org.apache.spark.mllib.clustering.KMeansModel model
The model.


modelId

String modelId
The model id.

Class org.apache.lens.ml.spark.models.LogitRegressionClassificationModel extends BaseSparkClassificationModel<org.apache.spark.mllib.classification.LogisticRegressionModel> implements Serializable

Class org.apache.lens.ml.spark.models.NaiveBayesClassificationModel extends BaseSparkClassificationModel<org.apache.spark.mllib.classification.NaiveBayesModel> implements Serializable

Class org.apache.lens.ml.spark.models.SparkDecisionTreeModel extends Object implements Serializable

Serialized Fields

model

org.apache.spark.mllib.tree.model.DecisionTreeModel model
The model.

Class org.apache.lens.ml.spark.models.SVMClassificationModel extends BaseSparkClassificationModel<org.apache.spark.mllib.classification.SVMModel> implements Serializable


Package org.apache.lens.rdd

Class org.apache.lens.rdd.HCatRecordToObjectListMapper extends Object implements Serializable

Class org.apache.lens.rdd.LensRDDClient.LensRDDResult extends Object implements Serializable

Serialized Fields

lensQuery

QueryHandle lensQuery
The lens query.


tempTableName

String tempTableName
The temp table name.


Package org.apache.lens.server

Class org.apache.lens.server.LensService extends org.apache.hive.service.CompositeService implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Package org.apache.lens.server.api.driver

Class org.apache.lens.server.api.driver.DriverQueryStatus extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

progress

double progress
The progress.


state

DriverQueryStatus.DriverQueryState state
The state.


statusMessage

String statusMessage
The status message.


isResultSetAvailable

boolean isResultSetAvailable
The is result set available.


progressMessage

String progressMessage
The progress message.


errorMessage

String errorMessage
The error message.


driverStartTime

Long driverStartTime
The driver start time.


driverFinishTime

Long driverFinishTime
The driver finish time.


Package org.apache.lens.server.api.query

Class org.apache.lens.server.api.query.AbstractQueryContext extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

userQuery

String userQuery
The user query.


lensConf

LensConf lensConf
The query conf.


selectedDriverQuery

String selectedDriverQuery
The selected Driver query.


submittedUser

String submittedUser
The submitted user.


lensSessionIdentifier

String lensSessionIdentifier
The lens session identifier.


isSelectedDriverQueryExplicitlySet

boolean isSelectedDriverQueryExplicitlySet
Will be set to true when the selected driver query is set other than user query This will help avoiding rewrites in case of system restarts.

Class org.apache.lens.server.api.query.ExplainQueryContext extends AbstractQueryContext implements Serializable

serialVersionUID: 1L

Class org.apache.lens.server.api.query.PreparedQueryContext extends AbstractQueryContext implements Serializable

serialVersionUID: 1L

Serialized Fields

prepareHandle

QueryPrepareHandle prepareHandle
The prepare handle.


preparedTime

Date preparedTime
The prepared time.


preparedUser

String preparedUser
The prepared user.


queryName

String queryName
The query name.

Class org.apache.lens.server.api.query.QueryContext extends AbstractQueryContext implements Serializable

serialVersionUID: 1L

Serialized Fields

queryHandle

QueryHandle queryHandle
The query handle.


priority

Priority priority
The priority.


isPersistent

boolean isPersistent
The is persistent.


isDriverPersistent

boolean isDriverPersistent
The is driver persistent.


status

QueryStatus status
The status.


resultSetPath

String resultSetPath
The result set path.


hdfsoutPath

String hdfsoutPath
The hdfsout path.


submissionTime

long submissionTime
The submission time.


launchTime

long launchTime
The launch time.


endTime

long endTime
The end time.


closedTime

long closedTime
The closed time.


driverOpHandle

String driverOpHandle
The driver op handle.


driverStatus

DriverQueryStatus driverStatus
The driver status.


finishedQueryPersisted

boolean finishedQueryPersisted
The finished query persisted.


queryName

String queryName
The query name.


Package org.apache.lens.server.metastore

Class org.apache.lens.server.metastore.CubeMetastoreServiceImpl extends LensService implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Package org.apache.lens.server.query

Class org.apache.lens.server.query.QueryExecutionServiceImpl extends LensService implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Package org.apache.lens.server.quota

Class org.apache.lens.server.quota.QuotaServiceImpl extends LensService implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Package org.apache.lens.server.scheduler

Class org.apache.lens.server.scheduler.QuerySchedulerServiceImpl extends LensService implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Package org.apache.lens.server.session

Class org.apache.lens.server.session.HiveSessionService extends LensService implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class org.apache.lens.server.session.LensSessionImpl.LensSessionPersistInfo extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Package org.apache.lens.server.user

Class org.apache.lens.server.user.UserConfigLoaderException extends RuntimeException implements Serializable



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