Package org.apache.drill.exec.alias
Class PersistentAliasesTable
java.lang.Object
org.apache.drill.exec.alias.PersistentAliasesTable
- All Implemented Interfaces:
- Aliases
Implementation of aliases table that updates its version in persistent store after modifications.
- 
Constructor SummaryConstructorsConstructorDescriptionPersistentAliasesTable(Map<String, String> aliases, String key, PersistentAliasRegistry.StoreProvider storeProvider) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns value from aliases table that corresponds to provided alias.Returns iterator for all entries of} aliases table.invalid @link{@link thisgetKey()Key of} aliases table.invalid @link{@link thisbooleanAssociates provided alias with provided alias in aliases table.booleanRemoves value for specified alias from aliases table.
- 
Constructor Details- 
PersistentAliasesTablepublic PersistentAliasesTable(Map<String, String> aliases, String key, PersistentAliasRegistry.StoreProvider storeProvider) 
 
- 
- 
Method Details- 
getKeyDescription copied from interface:AliasesKey of} aliases table.invalid @link{@link this
- 
getDescription copied from interface:AliasesReturns value from aliases table that corresponds to provided alias.
- 
putDescription copied from interface:AliasesAssociates provided alias with provided alias in aliases table.- Specified by:
- putin interface- Aliases
- Parameters:
- alias- alias of the value to associate with
- value- value that will be associated with provided alias
- replace- whether existing value for the same alias should be replaced
- Returns:
- trueif provided alias was associated with the provided value in aliases table
 
- 
removeDescription copied from interface:AliasesRemoves value for specified alias from aliases table.
- 
getAllAliasesDescription copied from interface:AliasesReturns iterator for all entries of} aliases table.invalid @link{@link this- Specified by:
- getAllAliasesin interface- Aliases
 
- 
getAliases
 
-