本文整理了Java中org.apache.accumulo.core.iterators.Filter.describeOptions()
方法的一些代码示例,展示了Filter.describeOptions()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Filter.describeOptions()
方法的具体详情如下:
包路径:org.apache.accumulo.core.iterators.Filter
类名称:Filter
方法名:describeOptions
暂无
代码示例来源:origin: apache/accumulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("reqvis");
io.setDescription("ReqVisFilter hides entries without a visibility label");
return io;
}
}
代码示例来源:origin: apache/accumulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("colageoff");
io.setDescription("ColumnAgeOffFilter ages off columns at different rates"
+ " given a time to live in milliseconds for each column");
io.addUnnamedOption("<col fam>[:<col qual>] <Long> (escape non-alphanum chars using %<hex>)");
return io;
}
代码示例来源:origin: apache/accumulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.addNamedOption(TTL, "time to live (milliseconds)");
io.addNamedOption(CURRENT_TIME, "if set, use the given value as the"
+ " absolute time in milliseconds as the current time of day");
io.setName("ageoff");
io.setDescription(
"AgeOffFilter removes entries with timestamps more than <ttl> milliseconds old");
return io;
}
代码示例来源:origin: apache/accumulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("visibilityFilter");
io.setDescription("The VisibilityFilter allows you to filter for key/value"
+ " pairs by a set of authorizations or filter invalid labels from corrupt" + " files.");
io.addNamedOption(FILTER_INVALID_ONLY,
"if 'true', the iterator is instructed to ignore the authorizations and"
+ " only filter invalid visibility labels (default: false)");
io.addNamedOption(AUTHS,
"the serialized set of authorizations to filter against (default: empty"
+ " string, accepts only entries visible by all)");
return io;
}
代码示例来源:origin: apache/accumulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("tsfilter");
io.setDescription("TimestampFilter displays entries with timestamps between specified values");
io.addNamedOption("start", "start timestamp (yyyyMMddHHmmssz or LONG<longstring>)");
io.addNamedOption("end", "end timestamp (yyyyMMddHHmmssz or LONG<longstring>)");
io.addNamedOption("startInclusive", "true or false");
io.addNamedOption("endInclusive", "true or false");
return io;
}
代码示例来源:origin: apache/accumulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("columnSlice");
io.setDescription("The ColumnSliceFilter/Iterator allows you to filter for"
+ " key/value pairs based on a lexicographic range of column qualifier" + " names");
io.addNamedOption(START_BOUND, "start string in slice");
io.addNamedOption(END_BOUND, "end string in slice");
io.addNamedOption(START_INCLUSIVE, "include the start bound in the result set");
io.addNamedOption(END_INCLUSIVE, "include the end bound in the result set");
return io;
}
代码示例来源:origin: apache/accumulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("regex");
io.setDescription("The RegExFilter/Iterator allows you to filter for"
+ " key/value pairs based on regular expressions");
io.addNamedOption(RegExFilter.ROW_REGEX, "regular expression on row");
io.addNamedOption(RegExFilter.COLF_REGEX, "regular expression on column family");
io.addNamedOption(RegExFilter.COLQ_REGEX, "regular expression on column qualifier");
io.addNamedOption(RegExFilter.VALUE_REGEX, "regular expression on value");
io.addNamedOption(RegExFilter.OR_FIELDS, "use OR instead of AND when multiple regexes given");
io.addNamedOption(RegExFilter.MATCH_SUBSTRING, "match on substrings");
io.addNamedOption(RegExFilter.ENCODING,
"character encoding of byte array value (default is " + ENCODING_DEFAULT + ")");
return io;
}
代码示例来源:origin: NationalSecurityAgency/timely
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.addNamedOption(DEFAULT_AGEOFF_KEY, "default age off days");
return io;
}
代码示例来源:origin: NationalSecurityAgency/datawave
@Override
public IteratorOptions describeOptions() {
IteratorOptions options = super.describeOptions();
options.addNamedOption(DATA_TYPE_OPT, "the data type");
options.addNamedOption(EVENT_UID_OPT, "the event uid");
return options;
}
代码示例来源:origin: org.apache.accumulo/accumulo-core
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("reqvis");
io.setDescription("ReqVisFilter hides entries without a visibility label");
return io;
}
}
代码示例来源:origin: Accla/graphulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName(SamplingFilter.class.getCanonicalName());
io.setDescription("Filter based on Value interpreted as a Long, encoded as String");
io.addNamedOption(PROBABILITY, "Probability of accepting an entry.");
return io;
}
代码示例来源:origin: Accla/graphulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName(TriangularFilter_TriCountMagic.class.getCanonicalName());
io.setDescription("Filter based on relative ordering of row and column qualifier, skipping first byte of row if the row has length 5");
io.addNamedOption(TRIANGULAR_TYPE, "TriangularFilter type: one of "+Arrays.toString(TriangularType.values())+", default "+triangularType);
return io;
}
代码示例来源:origin: Accla/graphulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName(TriangularFilter.class.getCanonicalName());
io.setDescription("Filter based on relative ordering of row and column qualifier");
io.addNamedOption(TRIANGULAR_TYPE, "TriangularFilter type: one of "+Arrays.toString(TriangularType.values())+", default "+triangularType);
return io;
}
代码示例来源:origin: org.apache.accumulo/accumulo-core
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("colageoff");
io.setDescription("ColumnAgeOffFilter ages off columns at different rates"
+ " given a time to live in milliseconds for each column");
io.addUnnamedOption("<col fam>[:<col qual>] <Long> (escape non-alphanum chars using %<hex>)");
return io;
}
代码示例来源:origin: NationalSecurityAgency/datawave
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.addNamedOption("ttl", "time to live (days)");
io.setName("ageoff");
io.setDescription("DateBasedAgeOffFilter removes entries with dates more than <ttl> days old");
return io;
}
代码示例来源:origin: org.apache.accumulo/accumulo-core
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.addNamedOption(TTL, "time to live (milliseconds)");
io.addNamedOption(CURRENT_TIME, "if set, use the given value as the"
+ " absolute time in milliseconds as the current time of day");
io.setName("ageoff");
io.setDescription(
"AgeOffFilter removes entries with timestamps more than <ttl> milliseconds old");
return io;
}
代码示例来源:origin: Accla/graphulo
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName(MinMaxFilter.class.getCanonicalName());
io.setDescription("Filter based on Value interpreted as a Long, encoded as String");
io.addNamedOption(MathTwoScalar.SCALAR_TYPE, "How to interpret Value encoded as String: " + Arrays.toString(MathTwoScalar.ScalarType.values()));
io.addNamedOption(MINVALUE, "Minimum Value, default " + minValue);
io.addNamedOption(MAXVALUE, "Maximum Value, default "+maxValue);
io.addNamedOption(USECOLQ, "Use Column Qualifier instead of Value? [default false]");
io.addNamedOption(PREFIXCOLQ, "[only if useColQ] Fixed prefix before the numeric part of the column qualifier.");
return io;
}
代码示例来源:origin: org.apache.accumulo/accumulo-core
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("columnSlice");
io.setDescription("The ColumnSliceFilter/Iterator allows you to filter for"
+ " key/value pairs based on a lexicographic range of column qualifier" + " names");
io.addNamedOption(START_BOUND, "start string in slice");
io.addNamedOption(END_BOUND, "end string in slice");
io.addNamedOption(START_INCLUSIVE, "include the start bound in the result set");
io.addNamedOption(END_INCLUSIVE, "include the end bound in the result set");
return io;
}
代码示例来源:origin: org.apache.accumulo/accumulo-core
@Override
public IteratorOptions describeOptions() {
IteratorOptions io = super.describeOptions();
io.setName("tsfilter");
io.setDescription("TimestampFilter displays entries with timestamps between specified values");
io.addNamedOption("start", "start timestamp (yyyyMMddHHmmssz or LONG<longstring>)");
io.addNamedOption("end", "end timestamp (yyyyMMddHHmmssz or LONG<longstring>)");
io.addNamedOption("startInclusive", "true or false");
io.addNamedOption("endInclusive", "true or false");
return io;
}
代码示例来源:origin: uk.gov.gchq.gaffer/accumulo-store
@Override
public IteratorOptions describeOptions() {
return new IteratorOptionsBuilder(super.describeOptions())
.addNamedOption(AccumuloStoreConstants.INCLUDE_ENTITIES, "Optional: Set if entities should be returned")
.addNamedOption(AccumuloStoreConstants.INCLUDE_EDGES, "Optional: Set if edges should be returned")
.setIteratorName(AccumuloStoreConstants.RANGE_ELEMENT_PROPERTY_FILTER_ITERATOR_NAME)
.setIteratorDescription(
"Only returns Entities or Edges that are directed undirected incoming or outgoing as specified by the user's options")
.build();
}
内容来源于网络,如有侵权,请联系作者删除!