Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DECLARATION |
"Result available in memory, attaching here: \n\n" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
PATH_PREFIX |
"filesystem.prefix." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DATE_FMT |
"yyyy-MM-dd\'T\'HH:mm:ss:SSS" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CLILOGGER |
"cliLogger" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CLIENT_PFX |
"lens.client." |
public static final String |
DBNAME_KEY |
"lens.client.dbname" |
public static final String |
DEFAULT_DBNAME_VALUE |
"default" |
public static final String |
DEFAULT_LOG_RESOURCE_PATH |
"logs" |
public static final String |
DEFAULT_SERVER_BASE_URL |
"http://0.0.0.0:9999/lensapi" |
public static final String |
DEFAULT_SESSION_RESOURCE_PATH |
"session" |
public static final String |
DEFAULT_USER_NAME |
"anonymous" |
public static final String |
SERVER_BASE_URL |
"lens.server.base.url" |
public static final String |
SESSION_CLUSTER_USER |
"lens.session.cluster.user" |
public static final String |
SESSION_FILTER_NAMES |
"lens.client.ws.request.filternames" |
public static final String |
WS_FILTER_IMPL_SFX |
".ws.filter.impl" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_ML_RESOURCE_PATH |
"ml" |
public static final String |
LENS_ML_RESOURCE_PATH |
"lens.ml.resource.path" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
URL_PREFIX |
"jdbc:lens://" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final char |
EXPRESSION_DELIMITER |
124 |
public static final char |
EXPRESSION_SPEC_DELIMITER |
58 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
AGGR_SFX |
".aggregate" |
public static final String |
ATTRIBUTES_LIST_SFX |
".attributes.list" |
public static final String |
BASE_KEY_PFX |
"base." |
public static final String |
BASE64_SFX |
".base64" |
public static final String |
CHAIN_NAME_SFX |
".chain.name" |
public static final String |
CHAIN_REF_COLUMN_SFX |
".chain.column.name" |
public static final String |
CLASS_SFX |
".class" |
public static final String |
COL_PFX |
"cube.col." |
public static final String |
COST_SFX |
".cost" |
public static final String |
CUBE_ALL_FIELDS_QUERIABLE |
"cube.allfields.queriable" |
public static final String |
CUBE_KEY_PFX |
"cube." |
public static final String |
CUBE_NAME_SFX |
".cubename" |
public static final String |
CUBE_TABLE_PFX |
"cube.table." |
public static final String |
DESC_SFX |
".description" |
public static final String |
DIM_KEY_PFX |
"cube.dimension." |
public static final String |
DIM_NAME_SFX |
".dim.name" |
public static final String |
DIM_REFERS_SFX |
".refers" |
public static final String |
DIM_TABLE_PFX |
"dimtable." |
public static final String |
DIM_TBL_PFX |
"dimtble." |
public static final String |
DIMENSION_PFX |
"dimension." |
public static final String |
DIMENSIONS_LIST_SFX |
".dimensions.list" |
public static final String |
DISPLAY_SFX |
".displaystring" |
public static final String |
DUMP_PERIOD_SFX |
".dumpperiod" |
public static final String |
END_TIME_SFX |
".endtime" |
public static final String |
EXPR_SFX |
".expr" |
public static final String |
EXPRESSIONS_LIST_SFX |
".expressions.list" |
public static final String |
FACT_ABSOLUTE_END_TIME |
"cube.fact.absolute.end.time" |
public static final String |
FACT_ABSOLUTE_START_TIME |
"cube.fact.absolute.start.time" |
public static final String |
FACT_AGGREGATED_PROPERTY |
"cube.fact.is.aggregated" |
public static final String |
FACT_KEY_PFX |
"cube.fact." |
public static final String |
FACT_RELATIVE_START_TIME |
"cube.fact.relative.start.time" |
public static final String |
FORMATSTRING_SFX |
".format" |
public static final String |
FULL_CHAIN_KEY |
".fullchain." |
public static final String |
HIERARCHY_SFX |
".hierarchy." |
public static final String |
INLINE_SIZE_SFX |
".inline.size" |
public static final String |
INLINE_VALUES_SFX |
".inline.values" |
public static final String |
IS_JOIN_KEY_SFX |
".isjoinkey" |
public static final String |
JOIN_CHAIN_KEY |
"joinchain." |
public static final String |
JOIN_CHAIN_LIST_SFX |
".joinchains.list" |
public static final String |
LATEST_PART_TIMESTAMP_SFX |
".latest.part.timestamp" |
public static final String |
MAX_SFX |
".max" |
public static final String |
MEASURE_KEY_PFX |
"cube.measure." |
public static final String |
MEASURES_LIST_SFX |
".measures.list" |
public static final String |
METASTORE_ENABLE_CACHING |
"cube.metastore.enable.cache" |
public static final String |
MIN_SFX |
".min" |
public static final String |
NUM_CHAINS_SFX |
".numchains" |
public static final String |
NUM_DISTINCT_VALUES |
".num.distinct.values" |
public static final String |
PARENT_CUBE_SFX |
".parent.cube" |
public static final String |
PARTCOLS_SFX |
".part.cols" |
public static final String |
PARTITION_TIMELINE_CACHE |
"partition.timeline.cache." |
public static final String |
PARTITION_UPDATE_PERIOD |
"cube.storagetable.partition.update.period" |
public static final String |
PARTITION_UPDATE_PERIOD_SFX |
".partition.update.period" |
public static final String |
START_TIME_SFX |
".starttime" |
public static final String |
STORAGE_CLASS |
"storage.class" |
public static final String |
STORAGE_ENTITY_PFX |
"storage." |
public static final String |
STORAGE_LIST_SFX |
".storages" |
public static final String |
STORAGE_PFX |
"cube.storagetable." |
public static final String |
TABLE_COLUMN_SEPERATOR |
"." |
public static final String |
TABLE_TYPE_KEY |
"cube.table.type" |
public static final String |
TIME_PART_COLUMNS |
"cube.storagetable.time.partcols" |
public static final String |
TIMED_DIMENSION_SFX |
".timed.dimension" |
public static final String |
TIMED_DIMENSIONS_LIST_SFX |
".timed.dimensions.list" |
public static final String |
TIMEDIM_RELATION |
"cube.timedim.relation." |
public static final String |
TIMEDIM_TO_PART_MAPPING_PFX |
"cube.timedim.partition." |
public static final String |
TYPE_SFX |
".type" |
public static final String |
UNIT_SFX |
".unit" |
public static final String |
UPDATE_PERIOD_SFX |
".updateperiods" |
public static final String |
VALID_COLUMNS_SFX |
".valid.columns" |
public static final String |
WEIGHT_KEY_SFX |
".weight" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DATE_PARTITION_KEY |
"dt" |
public static final String |
LATEST_PARTITION_VALUE |
"latest" |
public static final String |
STORGAE_SEPARATOR |
"_" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
BRIDGE_TABLE_FIELD_AGGREGATOR |
"lens.cube.query.bridge.table.field.aggregator" |
public static final boolean |
DEFAULT_ATTR_FIELDS_ADD_DISTINCT |
true |
public static final String |
DEFAULT_BRIDGE_TABLE_FIELD_AGGREGATOR |
"collect_set" |
public static final boolean |
DEFAULT_DISABLE_AGGREGATE_RESOLVER |
true |
public static final boolean |
DEFAULT_DISABLE_AUTO_JOINS |
true |
public static final boolean |
DEFAULT_ENABLE_FLATTENING_FOR_BRIDGETABLES |
false |
public static final boolean |
DEFAULT_ENABLE_GROUP_BY_TO_SELECT |
false |
public static final boolean |
DEFAULT_ENABLE_SELECT_TO_GROUPBY |
false |
public static final boolean |
DEFAULT_LIGHTEST_FACT_FIRST |
false |
public static final int |
DEFAULT_LOOK_AHEAD_PT_PARTS |
1 |
public static final boolean |
DEFAULT_MULTI_TABLE_SELECT |
true |
public static final boolean |
DEFAULT_REPLACE_TIMEDIM_WITH_PART_COL |
true |
public static final String |
DISABLE_AGGREGATE_RESOLVER |
"lens.cube.query.disable.aggregate.resolver" |
public static final String |
DISABLE_AUTO_JOINS |
"lens.cube.query.disable.auto.join" |
public static final String |
DRIVER_SUPPORTED_STORAGES |
"lens.cube.query.driver.supported.storages" |
public static final String |
ENABLE_ATTRFIELDS_ADD_DISTINCT |
"lens.cube.query.enable.attrfields.add.distinct" |
public static final String |
ENABLE_FLATTENING_FOR_BRIDGETABLES |
"lens.cube.query.enable.flattening.bridge.tables" |
public static final String |
ENABLE_GROUP_BY_TO_SELECT |
"lens.cube.query.promote.groupby.toselect" |
public static final String |
ENABLE_SELECT_TO_GROUPBY |
"lens.cube.query.promote.select.togroupby" |
public static final String |
FACT_TABLES_SFX |
".facttables" |
public static final String |
FAIL_QUERY_ON_PARTIAL_DATA |
"lens.cube.query.fail.if.data.partial" |
public static final String |
JOIN_TYPE_KEY |
"lens.cube.query.join.type" |
public static final String |
LIGHTEST_FACT_FIRST |
"lens.cube.query.pick.lightest.fact.first" |
public static final String |
LOOK_AHEAD_PT_PARTS_PFX |
"lens.cube.query.lookahead.ptparts.forinterval." |
public static final String |
NON_EXISTING_PARTITIONS |
"lens.cube.query.nonexisting.partitions" |
public static final String |
PART_WHERE_CLAUSE_DATE_FORMAT |
"lens.cube.query.partition.where.clause.format" |
public static final String |
PROCESS_TIME_PART_COL |
"lens.cube.query.process.time.partition.column" |
public static final String |
QUERY_MAX_INTERVAL |
"lens.cube.query.max.interval" |
public static final String |
REPLACE_TIMEDIM_WITH_PART_COL |
"lens.cube.query.replace.timedim" |
public static final String |
STORAGE_KEY_PFX |
".storage." |
public static final String |
STORAGE_TABLES_SFX |
".storagetables" |
public static final String |
TIME_RANGE_WRITER_CLASS |
"lens.cube.query.time.range.writer.class" |
public static final String |
UPDATE_PERIODS_SFX |
".updateperiods" |
public static final String |
VALID_FACT_PFX |
"lens.cube.query.valid.fact." |
public static final String |
VALID_PFX |
"lens.cube.query.valid." |
public static final String |
VALID_STORAGE_DIM_TABLES |
"lens.cube.query.valid.dim.storgaetables" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_TABLE |
"_default_" |
public static final String |
NOW |
"now" |
public static final String |
TIME_RANGE_FUNC |
"time_range_in" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ABSDATE_FMT |
"yyyy-MM-dd-HH:mm:ss,SSS" |
public static final String |
DAY_FMT |
"[0-9]{4}-[0-9]{2}-[0-9]{2}" |
public static final String |
HIVE_QUERY_DATE_FMT |
"yyyy-MM-dd HH:mm:ss" |
public static final String |
HOUR_FMT |
"[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{2}" |
public static final String |
MILLISECOND_FMT |
"[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}" |
public static final String |
MINUTE_FMT |
"[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{2}:[0-9]{2}" |
public static final String |
MONTH_FMT |
"[0-9]{4}-[0-9]{2}" |
public static final String |
OPTIONAL_WSPACE |
"\\s*" |
public static final String |
QUANTITY |
"\\d+" |
public static final String |
SECOND_FMT |
"[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{2}:[0-9]{2}:[0-9]{2}" |
public static final String |
SIGNAGE |
"\\+|\\-" |
public static final String |
WSPACE |
"\\s+" |
public static final String |
YEAR_FMT |
"[0-9]{4}" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
UPDATE_PERIOD_WEIGHT_PREFIX |
"update.period.weight." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
AGGR_BUCKET_SIZE_LENS_KEY |
"lens.driver.es.aggr.bucket.size" |
public static final int |
AGGR_TERM_FETCH_SIZE |
0 |
public static final String |
AGGS |
"aggs" |
public static final String |
CLIENT_CLASS_KEY |
"lens.driver.es.client.class" |
public static final int |
DEFAULT_TERM_QUERY_OFFSET |
0 |
public static final String |
FIELD |
"field" |
public static final String |
FIELDS |
"fields" |
public static final String |
FILTER |
"filter" |
public static final String |
FILTER_WRAPPER |
"filter_wrapper" |
public static final String |
FROM |
"from" |
public static final String |
MATCH_ALL |
"match_all" |
public static final String |
MAX_ROW_SIZE_KEY |
"lens.driver.es.max.row.size" |
public static final String |
QUERY_TIME_OUT_LENS_KEY |
"lens.driver.es.query.timeout.millis" |
public static final String |
QUERY_TIME_OUT_STRING |
"timeout" |
public static final String |
RANGE |
"range" |
public static final String |
SIZE |
"size" |
public static final String |
TERM |
"term" |
public static final String |
TERM_FETCH_SIZE_KEY |
"lens.driver.es.term.fetch.size" |
public static final String |
TERM_SORT |
"sort" |
public static final String |
TERMS |
"terms" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final long |
DEFAULT_EXPIRY_DELAY |
600000L |
public static final String |
HIVE_CONNECTION_CLASS |
"lens.driver.hive.connection.class" |
public static final String |
HIVE_QUERY_HOOK_CLASS |
"lens.driver.hive.query.hook.class" |
public static final String |
HS2_CALCULATE_PRIORITY |
"lens.driver.hive.calculate.priority" |
public static final String |
HS2_CONNECTION_EXPIRY_DELAY |
"lens.driver.hive.hs2.connection.expiry.delay" |
public static final String |
HS2_COST_CALCULATOR |
"lens.driver.hive.cost.calculator.class" |
public static final String |
HS2_PRIORITY_DEFAULT_RANGES |
"VERY_HIGH,7.0,HIGH,30.0,NORMAL,90,LOW" |
public static final String |
HS2_PRIORITY_RANGES |
"lens.driver.hive.priority.ranges" |
public static final String |
SESSION_KEY_DELIMITER |
"." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final boolean |
DEFAULT_JDBC_ENABLE_RESULTSET_STREAMING_RETRIEVAL |
false |
public static final String |
DEFAULT_JDBC_EXPLAIN_KEYWORD |
"explain " |
public static final boolean |
DEFAULT_JDBC_EXPLAIN_KEYWORD_BEFORE_SELECT |
true |
public static final int |
DEFAULT_JDBC_FETCH_SIZE |
1000 |
public static final boolean |
DEFAULT_JDBC_VALIDATE_THROUGH_PREPARE |
true |
public static final String |
JDBC_CONNECTION_PROVIDER |
"lens.driver.jdbc.connection.provider" |
public static final String |
JDBC_DB_URI |
"lens.driver.jdbc.db.uri" |
public static final String |
JDBC_DRIVER_CLASS |
"lens.driver.jdbc.driver.class" |
public static final String |
JDBC_DRIVER_PFX |
"lens.driver.jdbc." |
public static final String |
JDBC_ENABLE_RESULTSET_STREAMING_RETRIEVAL |
"lens.driver.jdbc.enable.resultset.streaming.retrieval" |
public static final String |
JDBC_EXPLAIN_KEYWORD_BEFORE_SELECT |
"lens.driver.jdbc.explain.before.select" |
public static final String |
JDBC_EXPLAIN_KEYWORD_PARAM |
"lens.driver.jdbc.explain.keyword" |
public static final String |
JDBC_FETCH_SIZE |
"lens.driver.jdbc.fetch.size" |
public static final String |
JDBC_GET_CONNECTION_TIMEOUT |
"lens.driver.jdbc.get.connection.timeout" |
public static final int |
JDBC_GET_CONNECTION_TIMEOUT_DEFAULT |
10000 |
public static final String |
JDBC_MAX_STATEMENTS_PER_CONNECTION |
"lens.driver.jdbc.pool.max.statements" |
public static final int |
JDBC_MAX_STATEMENTS_PER_CONNECTION_DEFAULT |
20 |
public static final String |
JDBC_PASSWORD |
"lens.driver.jdbc.db.password" |
public static final String |
JDBC_POOL_IDLE_TIME |
"lens.driver.jdbc.pool.idle.time" |
public static final int |
JDBC_POOL_IDLE_TIME_DEFAULT |
600 |
public static final String |
JDBC_POOL_MAX_SIZE |
"lens.driver.jdbc.pool.max.size" |
public static final int |
JDBC_POOL_MAX_SIZE_DEFAULT |
15 |
public static final String |
JDBC_QUERY_HOOK_CLASS |
"lens.driver.jdbc.query.hook.class" |
public static final String |
JDBC_QUERY_REWRITER_CLASS |
"lens.driver.jdbc.query.rewriter" |
public static final String |
JDBC_USER |
"lens.driver.jdbc.db.user" |
public static final String |
JDBC_VALIDATE_THROUGH_PREPARE |
"lens.driver.jdbc.validate.through.prepare" |
public static final String |
QUERY_LAUNCHING_CONSTRAINT_FACTORIES_KEY |
"lens.driver.jdbc.query.launching.constraint.factories" |
public static final String |
WAITING_QUERIES_SELECTION_POLICY_FACTORIES_KEY |
"lens.driver.jdbc.waiting.queries.selection.policy.factories" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
HEADER_TYPE |
"string" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final char |
DEFAULT_COLLECTION_SEPERATOR |
44 |
public static final char |
DEFAULT_MAP_KEY_VALUE_SEPERATOR |
61 |
public static final String |
DEFAULT_NULL_FORMAT |
"NULL" |
public static final char |
DEFAULT_STRUCT_FIELD_SEPERATOR |
58 |
public static final char |
DEFAULT_UNION_TAG_FIELD_SEPERATOR |
58 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NEWLINE |
"\n" |
public static final String |
UTF16LE |
"UTF-16LE" |
public static final String |
UTF8 |
"UTF-8" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
PART_SUFFIX |
"_part-" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"ml" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
UDF_NAME |
"predict" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final long |
MODEL_CACHE_SIZE |
10L |
public static final long |
MODEL_CACHE_TIMEOUT |
3600000L |
public static final String |
MODEL_PATH_BASE_DIR |
"lens.ml.model.basedir" |
public static final String |
MODEL_PATH_BASE_DIR_DEFAULT |
"file:///tmp" |
public static final String |
TEST_REPORT_BASE_DIR |
"lens.ml.test.basedir" |
public static final String |
TEST_REPORT_BASE_DIR_DEFAULT |
"file:///tmp/ml_reports" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ML_UP_MESSAGE |
"ML service is up" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
METASTORE_BASE_URL |
"/metastore" |
public static final String |
METASTORE_CUBES_URL |
"/metastore/cubes" |
public static final String |
METASTORE_DATABASES_CURRENT_URL |
"/metastore/databases/current" |
public static final String |
METASTORE_DATABASES_URL |
"/metastore/databases" |
public static final String |
METASTORE_DIMENSIONS_URL |
"/metastore/dimensions" |
public static final String |
METASTORE_DIMTABLES_URL |
"/metastore/dimtables" |
public static final String |
METASTORE_FACTS_URL |
"/metastore/facts" |
public static final String |
METASTORE_FLATTENED_URL |
"/metastore/flattened" |
public static final String |
METASTORE_NATIVETABLES_URL |
"/metastore/nativetables" |
public static final String |
METASTORE_STORAGES_URL |
"/metastore/storages" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CUBE_QUERY |
"cube select sample_dim.name, measure4 from sample_cube where time_range_in(dt, \'2014-06-24-23\', \'2014-06-25-00\')" |
public static final String |
DIM_QUERY |
"cube select id,name from sample_dim where name != \'first\'" |
public static final String |
HIVE_CUBE_QUERY |
"cube select sample_dim.name, measure4 from sample_cube where time_range_in(dt, \'2014-06-24-23\', \'2014-06-25-00\')" |
public static final String |
HIVE_DIM_QUERY |
"cube select id,name from sample_dim2 where name != \'first\'" |
public static final String |
JDBC_CUBE_QUERY |
"cube select product_id from sales where time_range_in(delivery_time,\'2015-04-12\',\'2015-04-13\')" |
public static final String |
JDBC_DIM_QUERY |
"cube select id,name from sample_db_dim where name != \'first\'" |
public static final String |
QUERY |
"cube select id,name from sample_dim where name != \'first\'" |
public static final String |
SLEEP_FUNCTION |
"CREATE TEMPORARY FUNCTION sleep AS \'hive.udf.SampleUdf\'" |
public static final String |
SLEEP_QUERY |
"cube select sleep(name) from sample_dim where name != \'first\'" |
public static final String |
WRONG_DIM_QUERY |
"cube select NO_ID from sample_dim where name != \'first\'" |
public static final String |
WRONG_HIVE_CUBE_QUERY |
"cube select sample_dim.name, measure4 from sample_cube where time_range_in(dt, \'2014-07-01-00\', \'2014-07-25-05\')" |
public static final String |
WRONG_HIVE_DIM_QUERY |
"cube select NO_ID from sample_dim2 where name != \'first\'" |
public static final String |
WRONG_JDBC_CUBE_QUERY |
"cube select product_id from sales where time_range_in(delivery_time,\'2015-04-12\',\'2015-04-14\')" |
public static final String |
WRONG_JDBC_DIM_QUERY |
"cube select NO_ID from sample_db_dim where name != \'first\'" |
public static final String |
WRONG_QUERY |
"cube select NO_ID from sample_dim where name != \'first\'" |
public static final String |
WRONG_SYNTAX_QUERY |
"cube select id,name from sample_dim2 name != \'first\'" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
PREPAREDQUERY_URL |
"/queryapi/preparedqueries" |
public static final String |
QUERY_URL |
"/queryapi/queries" |
public static final String |
QUERYAPI_BASE_URL |
"/queryapi" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SESSION_ADD_RESOURCE_URL |
"/session/resources/add" |
public static final String |
SESSION_BASE_URL |
"/session" |
public static final String |
SESSION_LIST_RESOURCE_URL |
"/session/resources/list" |
public static final String |
SESSION_PARAMS_URL |
"/session/params" |
public static final String |
SESSION_REMOVE_RESOURCE_URL |
"/session/resources/delete" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LENS_PROPERTIES |
"lens.properties" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXCEPTION_COUNT |
"count" |
public static final String |
HTTP_CLIENT_ERROR |
"http-client-error" |
public static final String |
HTTP_ERROR |
"http-error" |
public static final String |
HTTP_REQUESTS_FINISHED |
"http-requests-finished" |
public static final String |
HTTP_REQUESTS_STARTED |
"http-requests-started" |
public static final String |
HTTP_SERVER_ERROR |
"http-server-error" |
public static final String |
HTTP_UNKOWN_ERROR |
"http-unkown-error" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LENS_SERVICES_NAME |
"lens_services" |
public static final String |
SERVER_STATE_PERSISTENCE_ERRORS |
"total-server-state-persistence-errors" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ACCEPTOR_CLASSES |
"lens.server.query.acceptors" |
public static final String |
AUX_JARS |
"lens.session.aux.jars" |
public static final String |
CSV_METRICS_DIRECTORY_PATH |
"lens.server.metrics.csv.directory.path" |
public static final String |
DATABASE_RESOURCE_DIR |
"lens.server.database.resource.dir" |
public static final boolean |
DEFAULT_ADD_INSERT_OVEWRITE |
true |
public static final String |
DEFAULT_DATABASE_RESOURCE_DIR |
"/tmp/lens/resources" |
public static final boolean |
DEFAULT_DRIVER_PERSISTENT_RESULT_SET |
true |
public static final boolean |
DEFAULT_ENABLE_QUERY_METRICS |
false |
public static final int |
DEFAULT_ESTIMATE_POOL_KEEP_ALIVE_MILLIS |
60000 |
public static final int |
DEFAULT_ESTIMATE_POOL_MAX_THREADS |
100 |
public static final int |
DEFAULT_ESTIMATE_POOL_MIN_THREADS |
3 |
public static final long |
DEFAULT_ESTIMATE_TIMEOUT_MILLIS |
300000L |
public static final int |
DEFAULT_FETCH_COUNT_SAVED_QUERY_LIST |
20 |
public static final int |
DEFAULT_GANGLIA_PORT |
8080 |
public static final int |
DEFAULT_GRAPHITE_PORT |
8080 |
public static final String |
DEFAULT_HDFS_OUTPUT_PATH |
"hdfsout" |
public static final String |
DEFAULT_INMEMORY_OUTPUT_FORMATTER |
"org.apache.lens.lib.query.FileSerdeFormatter" |
public static final String |
DEFAULT_OUTPUT_CHARSET_ENCODING |
"UTF-8" |
public static final String |
DEFAULT_OUTPUT_COMPRESSION_CODEC |
"org.apache.hadoop.io.compress.GzipCodec" |
public static final boolean |
DEFAULT_OUTPUT_ENABLE_COMPRESSION |
false |
public static final String |
DEFAULT_OUTPUT_FILE_EXTN |
".csv" |
public static final String |
DEFAULT_OUTPUT_SERDE |
"org.apache.lens.lib.query.CSVSerde" |
public static final boolean |
DEFAULT_OUTPUT_WRITE_FOOTER |
false |
public static final boolean |
DEFAULT_OUTPUT_WRITE_HEADER |
false |
public static final String |
DEFAULT_PERSISTENT_OUTPUT_FORMATTER |
"org.apache.lens.lib.query.FilePersistentFormatter" |
public static final boolean |
DEFAULT_PERSISTENT_RESULT_SET |
false |
public static final int |
DEFAULT_PURGE_INTERVAL |
10000 |
public static final long |
DEFAULT_RESULT_FORMAT_SIZE_THRESHOLD |
10737418240L |
public static final boolean |
DEFAULT_RESULT_SPLIT_INTO_MULTIPLE |
false |
public static final long |
DEFAULT_RESULT_SPLIT_MULTIPLE_MAX_ROWS |
100000L |
public static final String |
DEFAULT_SERVER_BASE_URL |
"http://0.0.0.0:9999/lensapi" |
public static final String |
DEFAULT_SERVER_DB_DRIVER_NAME |
"org.hsqldb.jdbcDriver" |
public static final String |
DEFAULT_SERVER_DB_JDBC_URL |
"jdbc:hsqldb:/tmp/lensserver/queries.db" |
public static final String |
DEFAULT_SERVER_DB_PASS |
"" |
public static final String |
DEFAULT_SERVER_DB_USER |
"SA" |
public static final String |
DEFAULT_SERVER_DB_VALIDATION_QUERY |
"select 1 from INFORMATION_SCHEMA.SYSTEM_USERS" |
public static final String |
DEFAULT_SERVER_MODE |
"OPEN" |
public static final boolean |
DEFAULT_SERVER_RECOVER_ON_RESTART |
true |
public static final boolean |
DEFAULT_SERVER_RESTART_ENABLED |
true |
public static final long |
DEFAULT_SERVER_SNAPSHOT_INTERVAL |
300000L |
public static final String |
DEFAULT_SERVER_STATE_PERSIST_LOCATION |
"file:///tmp/lensserver" |
public static final boolean |
DEFAULT_SERVER_UI_ENABLE |
true |
public static final boolean |
DEFAULT_SERVER_UI_ENABLE_CACHING |
true |
public static final String |
DEFAULT_SERVER_UI_STATIC_DIR |
"webapp/lens-server/static" |
public static final String |
DEFAULT_SERVER_UI_URI |
"http://0.0.0.0:19999/" |
public static final int |
DEFAULT_SESSION_EXPIRY_SERVICE_INTERVAL_IN_SECS |
3600 |
public static final int |
DEFAULT_STATE_PERSIST_OUT_STREAM_BUFF_SIZE |
1048576 |
public static final String |
DEFAULT_STATISTICS_DATABASE |
"lensstats" |
public static final String |
DEFAULT_STATISTICS_WAREHOUSE |
"file:///tmp/lens/statistics/warehouse" |
public static final long |
DEFAULT_STATS_ROLLUP_SCAN_RATE |
3600000L |
public static final String |
DRIVER_CLASSES |
"lens.server.drivers" |
public static final String |
DRIVER_SELECTOR_CLASS |
"lens.server.driver.selector.class" |
public static final String |
ENABLE_CONSOLE_METRICS |
"lens.server.enable.console.metrics" |
public static final String |
ENABLE_CSV_METRICS |
"lens.server.enable.csv.metrics" |
public static final String |
ENABLE_GANGLIA_METRICS |
"lens.server.enable.ganglia.metrics" |
public static final String |
ENABLE_GRAPHITE_METRICS |
"lens.server.enable.graphite.metrics" |
public static final String |
ENABLE_QUERY_METRICS |
"lens.query.enable.metrics.per.query" |
public static final String |
ENABLE_RESOURCE_METHOD_METERING |
"lens.server.enable.resource.method.metering" |
public static final String |
ES_INDEX_NAME |
"lens.metastore.es.index.name" |
public static final String |
ES_TYPE_NAME |
"lens.metastore.es.type.name" |
public static final String |
ESTIMATE_POOL_KEEP_ALIVE_MILLIS |
"lens.server.estimate.pool.keepalive.millis" |
public static final String |
ESTIMATE_POOL_MAX_THREADS |
"lens.server.estimate.pool.max.threads" |
public static final String |
ESTIMATE_POOL_MIN_THREADS |
"lens.server.estimate.pool.min.threads" |
public static final String |
ESTIMATE_TIMEOUT_MILLIS |
"lens.server.estimate.timeout.millis" |
public static final String |
EVENT_SERVICE_THREAD_POOL_SIZE |
"lens.server.event.service.thread.pool.size" |
public static final String |
FETCH_COUNT_SAVED_QUERY_LIST_KEY |
"lens.server.savedquery.list.default.count" |
public static final String |
GANGLIA_PORT |
"lens.server.metrics.ganglia.port" |
public static final String |
GANGLIA_SERVERNAME |
"lens.server.metrics.ganglia.host" |
public static final String |
GRAPHITE_PORT |
"lens.server.metrics.graphite.port" |
public static final String |
GRAPHITE_SERVERNAME |
"lens.server.metrics.graphite.host" |
public static final String |
JDBC_DIALECT_PROVIDER_CLASS_KEY |
"lens.server.savedquery.jdbc.dialectclass" |
public static final String |
MAIL_DEFAULT_SMTP_CONNECTIONTIMEOUT |
"15000" |
public static final String |
MAIL_DEFAULT_SMTP_TIMEOUT |
"30000" |
public static final String |
MAIL_FROM_ADDRESS |
"lens.server.mail.from.address" |
public static final String |
MAIL_HOST |
"lens.server.mail.host" |
public static final String |
MAIL_PORT |
"lens.server.mail.port" |
public static final String |
MAIL_SMTP_CONNECTIONTIMEOUT |
"lens.server.mail.smtp.connectiontimeout" |
public static final String |
MAIL_SMTP_TIMEOUT |
"lens.server.mail.smtp.timeout" |
public static final String |
MAPRED_JOB_QUEUE_NAME |
"mapred.job.queue.name" |
public static final String |
METASTORE_PFX |
"lens.metastore." |
public static final String |
NATIVE_DB_NAME |
"lens.metastore.native.db.name" |
public static final String |
NATIVE_TABLE_COLUMN_MAPPING |
"lens.metastore.native.table.column.mapping" |
public static final String |
NATIVE_TABLE_NAME |
"lens.metastore.native.table.name" |
public static final String |
PURGE_INTERVAL |
"lens.server.querypurger.sleep.interval" |
public static final String |
QUERY_ADD_INSERT_OVEWRITE |
"lens.query.add.insert.overwrite" |
public static final String |
QUERY_HDFS_OUTPUT_PATH |
"lens.query.hdfs.output.path" |
public static final String |
QUERY_LAUNCHING_CONSTRAINT_FACTORIES_KEY |
"lens.server.query.launching.constraint.factories" |
public static final String |
QUERY_MAIL_NOTIFY |
"lens.query.enable.mail.notify" |
public static final String |
QUERY_METRIC_DRIVER_STACK_NAME |
"lens.query.metric.driver.stack.name" |
public static final String |
QUERY_METRIC_UNIQUE_ID_CONF_KEY |
"lens.query.metric.unique.id" |
public static final String |
QUERY_OUTPUT_CHARSET_ENCODING |
"lens.query.output.charset.encoding" |
public static final String |
QUERY_OUTPUT_COMPRESSION_CODEC |
"lens.query.output.compression.codec" |
public static final String |
QUERY_OUTPUT_DIRECTORY_FORMAT |
"lens.query.result.output.dir.format" |
public static final String |
QUERY_OUTPUT_ENABLE_COMPRESSION |
"lens.query.output.enable.compression" |
public static final String |
QUERY_OUTPUT_FILE_EXTN |
"lens.query.output.file.extn" |
public static final String |
QUERY_OUTPUT_FOOTER |
"lens.query.output.footer" |
public static final String |
QUERY_OUTPUT_FORMATTER |
"lens.query.output.formatter" |
public static final String |
QUERY_OUTPUT_HEADER |
"lens.query.output.header" |
public static final String |
QUERY_OUTPUT_SERDE |
"lens.query.result.output.serde" |
public static final String |
QUERY_OUTPUT_SQL_FORMAT |
"lens.query.result.output.sql.format" |
public static final String |
QUERY_OUTPUT_WRITE_FOOTER |
"lens.query.output.write.footer" |
public static final String |
QUERY_OUTPUT_WRITE_HEADER |
"lens.query.output.write.header" |
public static final String |
QUERY_PERSISTENT_RESULT_INDRIVER |
"lens.query.enable.persistent.resultset.indriver" |
public static final String |
QUERY_PERSISTENT_RESULT_SET |
"lens.query.enable.persistent.resultset" |
public static final String |
QUERY_PFX |
"lens.query." |
public static final String |
QUERY_PHASE1_REWRITERS |
"lens.server.query.phase1.rewriters" |
public static final String |
QUERY_RESULT_DEFAULT_EMAIL_CC |
"" |
public static final String |
QUERY_RESULT_EMAIL_CC |
"lens.query.result.email.cc" |
public static final String |
QUERY_STATE_LOGGER_ENABLED |
"lens.server.query.state.logger.enabled" |
public static final String |
REPORTING_PERIOD |
"lens.server.metrics.reporting.period" |
public static final String |
RESULT_FORMAT_SIZE_THRESHOLD |
"lens.query.result.size.format.threshold" |
public static final String |
RESULT_FS_READ_URL |
"lens.query.result.fs.read.url" |
public static final String |
RESULT_SET_PARENT_DIR |
"lens.query.result.parent.dir" |
public static final String |
RESULT_SET_PARENT_DIR_DEFAULT |
"/tmp/lensreports" |
public static final String |
RESULT_SPLIT_INTO_MULTIPLE |
"lens.query.result.split.multiple" |
public static final String |
RESULT_SPLIT_MULTIPLE_MAX_ROWS |
"lens.query.result.split.multiple.maxrows" |
public static final String |
SERVER_BASE_URL |
"lens.server.base.url" |
public static final String |
SERVER_DB_DRIVER_NAME |
"lens.server.db.driver.name" |
public static final String |
SERVER_DB_JDBC_PASS |
"lens.server.db.jdbc.pass" |
public static final String |
SERVER_DB_JDBC_URL |
"lens.server.db.jdbc.url" |
public static final String |
SERVER_DB_JDBC_USER |
"lens.server.db.jdbc.user" |
public static final String |
SERVER_DB_VALIDATION_QUERY |
"lens.server.db.validation.query" |
public static final String |
SERVER_DOMAIN |
"lens.server.domain" |
public static final String |
SERVER_MODE |
"lens.server.mode" |
public static final String |
SERVER_PFX |
"lens.server." |
public static final String |
SERVER_RECOVER_ON_RESTART |
"lens.server.recover.onrestart" |
public static final String |
SERVER_RESTART_ENABLED |
"lens.server.restart.enabled" |
public static final String |
SERVER_SNAPSHOT_INTERVAL |
"lens.server.snapshot.interval" |
public static final String |
SERVER_STATE_PERSIST_LOCATION |
"lens.server.persist.location" |
public static final String |
SERVER_UI_ENABLE |
"lens.server.ui.enable" |
public static final String |
SERVER_UI_ENABLE_CACHING |
"lens.server.ui.enable.caching" |
public static final String |
SERVER_UI_STATIC_DIR |
"lens.server..ui.static.dir" |
public static final String |
SERVER_UI_URI |
"lens.server.ui.base.uri" |
public static final String |
SERVICE_IMPL_SFX |
".service.impl" |
public static final String |
SERVICE_NAMES |
"lens.server.servicenames" |
public static final String |
SERVICE_PROVIDER_FACTORY |
"lens.server.service.provider.factory" |
public static final String |
SESSION_CLUSTER_USER |
"lens.session.cluster.user" |
public static final String |
SESSION_EXPIRY_SERVICE_INTERVAL_IN_SECS |
"lens.server.session.expiry.service.interval.secs" |
public static final String |
SESSION_LOGGEDIN_USER |
"lens.session.loggedin.user" |
public static final String |
SESSION_PFX |
"lens.session." |
public static final String |
SESSION_TIMEOUT_SECONDS |
"lens.server.session.timeout.seconds" |
public static final long |
SESSION_TIMEOUT_SECONDS_DEFAULT |
86400L |
public static final String |
STATE_PERSIST_OUT_STREAM_BUFF_SIZE |
"lens.server.state.persist.out.stream.buffer.size" |
public static final String |
STATISTICS_DATABASE_KEY |
"lens.server.statistics.db" |
public static final String |
STATISTICS_WAREHOUSE_KEY |
"lens.server.statistics.warehouse.dir" |
public static final String |
STATS_ROLLUP_SCAN_RATE |
"lens.server.statistics.log.rollover.interval" |
public static final String |
STATS_STORE_CLASS |
"lens.server.statistics.store.class" |
public static final String |
STORAGE_COST |
"lens.metastore.table.storage.cost" |
public static final String |
TOTAL_QUERY_COST_CEILING_PER_USER_KEY |
"lens.server.total.query.cost.ceiling.per.user" |
public static final String |
USER_RESOLVER_CACHE_EXPIRY |
"lens.server.user.resolver.cache.expiry" |
public static final String |
USER_RESOLVER_CACHE_MAX_SIZE |
"lens.server.user.resolver.cache.max_size" |
public static final String |
USER_RESOLVER_CUSTOM_CLASS |
"lens.server.user.resolver.custom.class" |
public static final String |
USER_RESOLVER_DB_KEYS |
"lens.server.user.resolver.db.keys" |
public static final String |
USER_RESOLVER_DB_QUERY |
"lens.server.user.resolver.db.query" |
public static final String |
USER_RESOLVER_FIXED_VALUE |
"lens.server.user.resolver.fixed.value" |
public static final String |
USER_RESOLVER_LDAP_BIND_DN |
"lens.server.user.resolver.ldap.bind.dn" |
public static final String |
USER_RESOLVER_LDAP_BIND_PASSWORD |
"lens.server.user.resolver.ldap.bind.password" |
public static final String |
USER_RESOLVER_LDAP_FIELDS |
"lens.server.user.resolver.ldap.fields" |
public static final String |
USER_RESOLVER_LDAP_INTERMEDIATE_DB_DELETE_SQL |
"lens.server.user.resolver.ldap.intermediate.db.delete.sql" |
public static final String |
USER_RESOLVER_LDAP_INTERMEDIATE_DB_INSERT_SQL |
"lens.server.user.resolver.ldap.intermediate.db.insert.sql" |
public static final String |
USER_RESOLVER_LDAP_INTERMEDIATE_DB_QUERY |
"lens.server.user.resolver.ldap.intermediate.db.query" |
public static final String |
USER_RESOLVER_LDAP_SEARCH_BASE |
"lens.server.user.resolver.ldap.search.base" |
public static final String |
USER_RESOLVER_LDAP_SEARCH_FILTER |
"lens.server.user.resolver.ldap.search.filter" |
public static final String |
USER_RESOLVER_LDAP_URL |
"lens.server.user.resolver.ldap.url" |
public static final String |
USER_RESOLVER_PROPERTYBASED_FILENAME |
"lens.server.user.resolver.propertybased.filename" |
public static final String |
USER_RESOLVER_TYPE |
"lens.server.user.resolver.type" |
public static final String |
WAITING_QUERIES_SELECTION_POLICY_FACTORIES_KEY |
"lens.server.waiting.queries.selection.policy.factories" |
public static final String |
WHETHER_MAIL_NOTIFY_DEFAULT |
"false" |
public static final String |
WS_FEATURE_IMPL_SFX |
".ws.feature.impl" |
public static final String |
WS_FEATURE_NAMES |
"lens.server.ws.featurenames" |
public static final String |
WS_FILTER_IMPL_SFX |
".ws.filter.impl" |
public static final String |
WS_FILTER_NAMES |
"lens.server.ws.filternames" |
public static final String |
WS_LISTENER_IMPL_SFX |
".ws.listener.impl" |
public static final String |
WS_LISTENER_NAMES |
"lens.server.ws.listenernames" |
public static final String |
WS_RESOURCE_IMPL_SFX |
".ws.resource.impl" |
public static final String |
WS_RESOURCE_NAMES |
"lens.server.ws.resourcenames" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
HANDLER_METHOD_NAME |
"onEvent" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"event" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"metastore" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ACCEPTED_QUERIES |
"accepted-queries" |
public static final String |
ACTIVE_SESSIONS |
"active-sessions" |
public static final String |
CANCELLED_QUERIES |
"cancelled-queries" |
public static final String |
CLOSED_SESSIONS |
"closed-sessions" |
public static final String |
EXPIRED_SESSIONS |
"expired-sessions" |
public static final String |
FAILED_QUERIES |
"failed-queries" |
public static final String |
FINISHED_QUERIES |
"finished-queries" |
public static final String |
NAME |
"metrics" |
public static final String |
OPENED_SESSIONS |
"opened-sessions" |
public static final String |
QUEUED_QUERIES |
"queued-queries" |
public static final String |
RUNNING_QUERIES |
"running-queries" |
public static final String |
WAITING_QUERIES |
"waiting-queries" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"query" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
MAX_CONCURRENT_QUERIES_KEY |
"driver.max.concurrent.launched.queries" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"savedquery" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"session" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOG_SEGREGATION_ID |
"logSegregationId" |
public static final String |
QUERY_LOG_ID |
"queryLogId" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EMAIL_ERROR_COUNTER |
"email-send-errors" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"query" |
public static final String |
PREPARED_QUERIES_COUNTER |
"prepared-queries" |
public static final String |
PREPARED_QUERY_PURGER_COUNTER |
"prepared-query-purger-errors" |
public static final String |
QUERY_PURGER_COUNTER |
"query-purger-errors" |
public static final String |
QUERY_SUBMITTER_COUNTER |
"query-submitter-errors" |
public static final String |
STATUS_UPDATE_COUNTER |
"status-update-errors" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"savedquery" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"quota" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NAME |
"scheduler" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOAD_RESOURCES_ERRORS |
"total-load-resources-errors" |
public static final String |
NAME |
"database-resources" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
STATS_SVC_NAME |
"stats" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOG_STORE_ERRORS |
"log-store-errors" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOG_SCANNER_ERRORS |
"log-scanner-errors" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOG_PARTITION_HANDLER_COUNTER |
"log-partition-handler-errors" |
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.