Package org.apache.drill.exec.alias
Class ResolvedAliases
java.lang.Object
org.apache.drill.exec.alias.ResolvedAliases
- All Implemented Interfaces:
Aliases
Aliases table that fallback user aliases calls to public aliases
if alias not found in user aliases table.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns value from aliases table that corresponds to provided alias.Returns iterator for all entries of {@link this} aliases table.getKey()
Key of {@link this} aliases table.boolean
Associates provided alias with provided alias in aliases table.boolean
Removes value for specified alias from aliases table.
-
Constructor Details
-
ResolvedAliases
-
-
Method Details
-
getKey
Description copied from interface:Aliases
Key of {@link this} aliases table. -
get
Description copied from interface:Aliases
Returns value from aliases table that corresponds to provided alias. -
put
Description copied from interface:Aliases
Associates provided alias with provided alias in aliases table.- Specified by:
put
in interfaceAliases
- Parameters:
alias
- alias of the value to associate withvalue
- value that will be associated with provided aliasreplace
- whether existing value for the same alias should be replaced- Returns:
true
if provided alias was associated with the provided value in aliases table
-
remove
Description copied from interface:Aliases
Removes value for specified alias from aliases table. -
getAllAliases
Description copied from interface:Aliases
Returns iterator for all entries of {@link this} aliases table.- Specified by:
getAllAliases
in interfaceAliases
-