FunctionNode
@ExperimentalAppSearchApi
public interface FunctionNode extends Node
GetSearchStringParameterNode |
|
HasPropertyNode |
|
PropertyDefinedNode |
|
SearchNode |
|
SemanticSearchNode |
|
Node that represents a function.
Every function node will have a function name and some arguments represented as fields on the class extending FunctionNode.
FunctionNode should be implemented by a node that implements a specific function.
Summary
Constants |
|
|---|---|
default static final String |
FUNCTION_NAME_GET_SEARCH_STRING_PARAMETER = "getSearchStringParameter"Name of the query function represented by |
default static final String |
FUNCTION_NAME_HAS_PROPERTY = "hasProperty"Name of the query function represented by |
default static final String |
FUNCTION_NAME_PROPERTY_DEFINED = "propertyDefined"Name of the query function represented by |
default static final String |
FUNCTION_NAME_SEARCH = "search"Name of the query function represented by |
default static final String |
FUNCTION_NAME_SEMANTIC_SEARCH = "semanticSearch"Name of the query function represented by |
Public methods |
|
|---|---|
abstract @NonNull String |
Gets the name of the node that extends the |
Constants
FUNCTION_NAME_GET_SEARCH_STRING_PARAMETER
default static final String FUNCTION_NAME_GET_SEARCH_STRING_PARAMETER = "getSearchStringParameter"
Name of the query function represented by androidx.appsearch.ast.query.GetSearchStringParameterNode.
FUNCTION_NAME_HAS_PROPERTY
default static final String FUNCTION_NAME_HAS_PROPERTY = "hasProperty"
Name of the query function represented by androidx.appsearch.ast.query.HasPropertyNode.
FUNCTION_NAME_PROPERTY_DEFINED
default static final String FUNCTION_NAME_PROPERTY_DEFINED = "propertyDefined"
Name of the query function represented by androidx.appsearch.ast.query.PropertyDefinedNode.
FUNCTION_NAME_SEARCH
default static final String FUNCTION_NAME_SEARCH = "search"
Name of the query function represented by androidx.appsearch.ast.query.SearchNode.
FUNCTION_NAME_SEMANTIC_SEARCH
default static final String FUNCTION_NAME_SEMANTIC_SEARCH = "semanticSearch"
Name of the query function represented by androidx.appsearch.ast.query.SemanticSearchNode.
Public methods
getFunctionName
abstract @NonNull String getFunctionName()
Gets the name of the node that extends the FunctionNode.