
com.marklogic.client.row.RawPlanDefinition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marklogic-client-api Show documentation
Show all versions of marklogic-client-api Show documentation
The official MarkLogic Java client API.
The newest version!
/*
* Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
*/
package com.marklogic.client.row;
import com.marklogic.client.io.marker.JSONWriteHandle;
/**
* A Raw Plan Definition provides access to a plan
* in a JSON serialization of the exported
* AST (Abstract Syntax Tree) for the plan.
*/
public interface RawPlanDefinition extends RawPlan {
/**
* Returns the handle for the JSON representation of the AST for the plan.
* @return the JSON handle
*/
JSONWriteHandle getHandle();
/**
* Specifies the handle for the JSON representation of the AST for the plan.
* @param handle the JSON handle
*/
void setHandle(JSONWriteHandle handle);
/**
* Assigns the handle and returns the raw plan as a convenience.
* @param handle the JSON handle
* @return this raw plan object
*/
RawPlanDefinition withHandle(JSONWriteHandle handle);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy