Class ViewService
java.lang.Object
org.elasticsearch.xpack.esql.view.ViewService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteViews(ProjectId projectId, org.elasticsearch.core.TimeValue masterNodeTimeout, org.elasticsearch.core.TimeValue ackTimeout, Collection<String> viewNames, ActionListener<AcknowledgedResponse> listener) Removes views from the cluster state.Gets a view by name.protected Map<String, IndexAbstraction> getIndicesLookup(ProjectMetadata projectMetadata) protected ViewMetadatagetMetadata(ProjectMetadata projectMetadata) List all current view names.voidputView(ProjectId projectId, PutViewAction.Request request, ActionListener<AcknowledgedResponse> listener) Adds or modifies a view by name.
-
Field Details
-
clusterService
-
MAX_VIEWS_COUNT_SETTING
-
MAX_VIEW_LENGTH_SETTING
-
-
Constructor Details
-
ViewService
-
-
Method Details
-
getMetadata
-
getIndicesLookup
-
putView
public void putView(ProjectId projectId, PutViewAction.Request request, ActionListener<AcknowledgedResponse> listener) Adds or modifies a view by name. -
deleteViews
public void deleteViews(ProjectId projectId, org.elasticsearch.core.TimeValue masterNodeTimeout, org.elasticsearch.core.TimeValue ackTimeout, Collection<String> viewNames, ActionListener<AcknowledgedResponse> listener) Removes views from the cluster state. -
get
Gets a view by name. -
list
List all current view names.
-