public static interface RFile.SummaryOptions
Modifier and Type | Method and Description |
---|---|
RFile.SummaryOptions |
endRow(CharSequence endRow) |
RFile.SummaryOptions |
endRow(org.apache.hadoop.io.Text endRow)
Summary data may possibly be stored at a more granular level than the entire file.
|
Collection<Summary> |
read()
Reads summary data from file.
|
RFile.SummaryOptions |
selectSummaries(Predicate<SummarizerConfiguration> summarySelector)
This method allows retrieving a subset of summary data from a file.
|
RFile.SummaryOptions |
startRow(CharSequence startRow) |
RFile.SummaryOptions |
startRow(org.apache.hadoop.io.Text startRow)
Summary data may possibly be stored at a more granular level than the entire file.
|
RFile.SummaryOptions |
withTableProperties(Iterable<Map.Entry<String,String>> props)
Retrieve summaries with provided tables properties.
|
RFile.SummaryOptions |
withTableProperties(Map<String,String> props) |
RFile.SummaryOptions withTableProperties(Iterable<Map.Entry<String,String>> props)
TableOperations.getProperties(String)
. Any property that impacts file
behavior regardless of whether it has the Property.TABLE_PREFIX
may be accepted and
used. For example, cache and crypto properties could be passed here.props
- iterable over Accumulo table key value properties.RFile.SummaryOptions withTableProperties(Map<String,String> props)
props
- a map instead of an IterableAny property that impacts file behavior regardless of
whether it has the {@link Property#TABLE_PREFIX} may be accepted and used. For example,
cache and crypto properties could be passed here.
RFile.SummaryOptions selectSummaries(Predicate<SummarizerConfiguration> summarySelector)
summarySelector
- Only read summary data that was generated with configuration that this predicate
matches.RFile.SummaryOptions startRow(org.apache.hadoop.io.Text startRow)
startRow
- A non-null start row. The startRow is used exclusively.Summary.FileStatistics.getExtra()
RFile.SummaryOptions startRow(CharSequence startRow)
startRow
- UTF-8 encodes startRow. The startRow is used exclusively.startRow(Text)
RFile.SummaryOptions endRow(org.apache.hadoop.io.Text endRow)
endRow
- A non-null end row. The end row is used inclusively.Summary.FileStatistics.getExtra()
RFile.SummaryOptions endRow(CharSequence endRow)
endRow
- UTF-8 encodes endRow. The end row is used inclusively.endRow(Text)
Collection<Summary> read() throws IOException
IOException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.