Package org.apache.drill.exec.alias
Class EmptyAliases
java.lang.Object
org.apache.drill.exec.alias.EmptyAliases
- All Implemented Interfaces:
Aliases
Implementation of aliases table that doesn't hold or return information.
-
Field Summary
-
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.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EmptyAliases
public EmptyAliases()
-
-
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
-