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.org.apache.accumulo.core.client.mapreduce.InputFormatBase.RangeInputSplit, org.apache.accumulo.core.client.mapreduce.InputFormatBase.RecordReaderBase<K,V>, org.apache.accumulo.core.client.mapreduce.InputFormatBase.RegexType| 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.conf.Configuration config,
String username,
byte[] password,
org.apache.accumulo.core.security.Authorizations auths) |
static void |
setQueryInfo(org.apache.hadoop.conf.Configuration config,
Date start,
Date end,
TimeUnit timeUnit,
String group,
String type,
String name,
Class<? extends Feature> featureType) |
static void |
setQueryInfo(org.apache.hadoop.conf.Configuration config,
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, addIterator, disableAutoAdjustRanges, disableAutoAdjustRanges, fetchColumns, fetchColumns, getAuthorizations, getAuthorizations, getAutoAdjustRanges, getAutoAdjustRanges, getFetchedColumns, getFetchedColumns, getInstance, getInstance, getIteratorOptions, getIteratorOptions, getIterators, getIterators, getLogLevel, getLogLevel, getMaxVersions, getMaxVersions, getPassword, getPassword, getRanges, getRanges, getRegex, getSplits, getTablename, getTablename, getTabletLocator, getTabletLocator, getUsername, getUsername, isIsolated, isIsolated, isOfflineScan, setInputInfo, setInputInfo, setIsolated, setIsolated, setIterator, setIteratorOption, setLocalIterators, setLocalIterators, setLogLevel, setLogLevel, setMaxVersions, setMaxVersions, setMockInstance, setMockInstance, setRanges, setRanges, setRegex, setScanOffline, setZooKeeperInstance, setZooKeeperInstance, usesLocalIterators, usesLocalIterators, validateOptions, validateOptionspublic static void setInputInfo(org.apache.hadoop.conf.Configuration config,
String username,
byte[] password,
org.apache.accumulo.core.security.Authorizations auths)
public static void setQueryInfo(org.apache.hadoop.conf.Configuration config,
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.conf.Configuration config,
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.