public class FeaturesInputFormat extends org.apache.accumulo.core.client.mapreduce.InputFormatBase<org.apache.accumulo.core.data.Key,Feature>
InputFormat that allows any Feature to be streamed into a map/reduce job based on a given query.| Constructor and Description |
|---|
FeaturesInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.accumulo.core.data.Key,Feature> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
static void |
setInputInfo(org.apache.hadoop.mapreduce.Job job,
String username,
byte[] password,
org.apache.accumulo.core.security.Authorizations auths) |
static void |
setQueryInfo(org.apache.hadoop.mapreduce.Job job,
Date start,
Date end,
TimeUnit timeUnit,
String group,
String type,
String name,
Class<? extends Feature> featureType) |
static void |
setQueryInfo(org.apache.hadoop.mapreduce.Job job,
Date start,
Date end,
TimeUnit timeUnit,
String group,
String type,
String name,
Class<? extends Feature> featureType,
FeatureRegistry registry)
Query for a specific set of feature rollups for a specific time range and unit of time.
|
addIterator, fetchColumns, getAutoAdjustRanges, getFetchedColumns, getInputTableName, getIterators, getRanges, getTabletLocator, isIsolated, isOfflineScan, setAutoAdjustRanges, setInputTableName, setLocalIterators, setOfflineTableScan, setRanges, setScanIsolation, usesLocalIteratorsgetAuthenticationToken, getInputTableConfig, getInputTableConfigs, getInstance, getLogLevel, getPrincipal, getScanAuthorizations, getSplits, getTabletLocator, getToken, getTokenClass, isConnectorInfoSet, setConnectorInfo, setConnectorInfo, setLogLevel, setMockInstance, setScanAuthorizations, setZooKeeperInstance, setZooKeeperInstance, validateOptionspublic static void setInputInfo(org.apache.hadoop.mapreduce.Job job,
String username,
byte[] password,
org.apache.accumulo.core.security.Authorizations auths)
throws org.apache.accumulo.core.client.AccumuloSecurityException
org.apache.accumulo.core.client.AccumuloSecurityExceptionpublic static void setQueryInfo(org.apache.hadoop.mapreduce.Job job,
Date start,
Date end,
TimeUnit timeUnit,
String group,
String type,
String name,
Class<? extends Feature> featureType)
throws IOException
IOExceptionpublic static void setQueryInfo(org.apache.hadoop.mapreduce.Job job,
Date start,
Date end,
TimeUnit timeUnit,
String group,
String type,
String name,
Class<? extends Feature> featureType,
FeatureRegistry registry)
throws IOException
IOExceptionpublic org.apache.hadoop.mapreduce.RecordReader<org.apache.accumulo.core.data.Key,Feature> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.accumulo.core.data.Key,Feature>IOExceptionInterruptedExceptionCopyright © 2014 Calrissian. All Rights Reserved.