public static interface RFile.ScannerOptions
| Modifier and Type | Method and Description | 
|---|---|
| Scanner | build() | 
| RFile.ScannerOptions | withAuthorizations(Authorizations auths)The authorizations passed here will be used to filter Keys, from the  Scanner, based on the content of the column visibility field. | 
| RFile.ScannerOptions | withBounds(Range range)This option allows limiting the  Scannerfrom reading data outside of a given range. | 
| RFile.ScannerOptions | withDataCache(long cacheSize)Enabling this option will cache RFiles data in memory. | 
| RFile.ScannerOptions | withIndexCache(long cacheSize)Enabling this option will cache RFiles indexes in memory. | 
| RFile.ScannerOptions | withoutSystemIterators()By default the  Scannercreated will setup the default Accumulo system iterators. | 
| RFile.ScannerOptions | withTableProperties(Iterable<Map.Entry<String,String>> props)Construct the  Scannerwith iterators specified in a tables properties. | 
| RFile.ScannerOptions | withTableProperties(Map<String,String> props) | 
RFile.ScannerOptions withoutSystemIterators()
Scanner created will setup the default Accumulo system iterators. The iterators do things like the following :
 AuthorizationsScannerBase.fetchColumn(Text, Text) and ScannerBase.fetchColumnFamily(Text)
 Calling this method will turn off these system iterators and allow reading the raw data in an RFile. When reading the raw data, delete data and delete
 markers may be seen. Delete markers are Keys with the delete flag set.
 
 Disabling system iterators will cause withAuthorizations(Authorizations), ScannerBase.fetchColumn(Text, Text), and
 ScannerBase.fetchColumnFamily(Text) to throw runtime exceptions.
RFile.ScannerOptions withAuthorizations(Authorizations auths)
Scanner, based on the content of the column visibility field.auths - scan with these authorizationsRFile.ScannerOptions withDataCache(long cacheSize)
cacheSize - the size of the data cache in bytes.RFile.ScannerOptions withIndexCache(long cacheSize)
Key. This option is
 useful when doing lots of random accesses.cacheSize - the size of the index cache in bytes.RFile.ScannerOptions withBounds(Range range)
Scanner from reading data outside of a given range. A scanner will not see any data outside of this range even if
 the RFile(s) have data outside the range.RFile.ScannerOptions withTableProperties(Iterable<Map.Entry<String,String>> props)
Scanner with iterators specified in a tables properties. Properties for a table can be obtained by calling
 TableOperations.getProperties(String)props - iterable over Accumulo table key value properties.RFile.ScannerOptions withTableProperties(Map<String,String> props)
props - a map instead of an IterablewithTableProperties(Iterable)Scanner build()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.