Class CompileQueryWithPartialEvaluationRequest
java.lang.Object
com.styra.opa.openapi.models.operations.CompileQueryWithPartialEvaluationRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Constructor Summary
ConstructorsConstructorDescriptionCompileQueryWithPartialEvaluationRequest
(String path, CompileQueryWithPartialEvaluationRequestBody requestBody) CompileQueryWithPartialEvaluationRequest
(String path, Optional<? extends GzipAcceptEncoding> acceptEncoding, Optional<? extends GzipContentEncoding> contentEncoding, Optional<Boolean> pretty, Optional<? extends Explain> explain, Optional<Boolean> metrics, Optional<Boolean> instrument, CompileQueryWithPartialEvaluationRequestBody requestBody) -
Method Summary
Modifier and TypeMethodDescriptionIndicates the server should respond with a gzip encoded body.static final CompileQueryWithPartialEvaluationRequest.Builder
builder()
Indicates that the request body is gzip encodedboolean
explain()
Return query explanation in addition to result.int
hashCode()
Instrument query evaluation and return a superset of performance metrics in addition to result.metrics()
Return query performance metrics in addition to result.path()
The path separator is used to access values inside object and array documents.pretty()
If parameter is `true`, response will formatted for humans.The query, input, and other settings for partial evaluation.toString()
withAcceptEncoding
(GzipAcceptEncoding acceptEncoding) Indicates the server should respond with a gzip encoded body.withAcceptEncoding
(Optional<? extends GzipAcceptEncoding> acceptEncoding) Indicates the server should respond with a gzip encoded body.withContentEncoding
(GzipContentEncoding contentEncoding) Indicates that the request body is gzip encodedwithContentEncoding
(Optional<? extends GzipContentEncoding> contentEncoding) Indicates that the request body is gzip encodedwithExplain
(Explain explain) Return query explanation in addition to result.withExplain
(Optional<? extends Explain> explain) Return query explanation in addition to result.withInstrument
(boolean instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.withInstrument
(Optional<Boolean> instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.withMetrics
(boolean metrics) Return query performance metrics in addition to result.withMetrics
(Optional<Boolean> metrics) Return query performance metrics in addition to result.The path separator is used to access values inside object and array documents.withPretty
(boolean pretty) If parameter is `true`, response will formatted for humans.withPretty
(Optional<Boolean> pretty) If parameter is `true`, response will formatted for humans.The query, input, and other settings for partial evaluation.
-
Constructor Details
-
CompileQueryWithPartialEvaluationRequest
public CompileQueryWithPartialEvaluationRequest(String path, Optional<? extends GzipAcceptEncoding> acceptEncoding, Optional<? extends GzipContentEncoding> contentEncoding, Optional<Boolean> pretty, Optional<? extends Explain> explain, Optional<Boolean> metrics, Optional<Boolean> instrument, CompileQueryWithPartialEvaluationRequestBody requestBody) -
CompileQueryWithPartialEvaluationRequest
public CompileQueryWithPartialEvaluationRequest(String path, CompileQueryWithPartialEvaluationRequestBody requestBody)
-
-
Method Details
-
path
The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. -
acceptEncoding
Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section -
contentEncoding
Indicates that the request body is gzip encoded -
pretty
If parameter is `true`, response will formatted for humans. -
explain
Return query explanation in addition to result. -
metrics
Return query performance metrics in addition to result. -
instrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
requestBody
The query, input, and other settings for partial evaluation. -
builder
-
withPath
The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. -
withAcceptEncoding
public CompileQueryWithPartialEvaluationRequest withAcceptEncoding(Optional<? extends GzipAcceptEncoding> acceptEncoding) Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section -
withContentEncoding
public CompileQueryWithPartialEvaluationRequest withContentEncoding(Optional<? extends GzipContentEncoding> contentEncoding) Indicates that the request body is gzip encoded -
withPretty
If parameter is `true`, response will formatted for humans. -
withPretty
If parameter is `true`, response will formatted for humans. -
withExplain
Return query explanation in addition to result. -
withMetrics
Return query performance metrics in addition to result. -
withMetrics
Return query performance metrics in addition to result. -
withInstrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
withInstrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
withRequestBody
public CompileQueryWithPartialEvaluationRequest withRequestBody(CompileQueryWithPartialEvaluationRequestBody requestBody) The query, input, and other settings for partial evaluation. -
equals
-
hashCode
public int hashCode() -
toString
-