Class CompileOptions
java.lang.Object
com.styra.opa.openapi.models.shared.CompileOptions
CompileOptions
Additional options to use during partial evaluation. Only the disableInlining option is currently supported in OPA. Enterprise OPA may support additional options.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCompileOptions(Optional<? extends List<String>> disableInlining, Optional<? extends List<TargetDialects>> targetDialects, Optional<? extends TargetSQLTableMappings> targetSQLTableMappings, Optional<String> maskRule) -
Method Summary
Modifier and TypeMethodDescriptionstatic final CompileOptions.Builderbuilder()A list of paths to exclude from partial evaluation inlining.booleaninthashCode()maskRule()The Rego rule to evaluate for generating column masks.The output targets for partial evaluation.toString()withAdditionalProperties(Map<String, Object> additionalProperties) withAdditionalProperty(String key, Object value) withDisableInlining(List<String> disableInlining) A list of paths to exclude from partial evaluation inlining.withDisableInlining(Optional<? extends List<String>> disableInlining) A list of paths to exclude from partial evaluation inlining.withMaskRule(String maskRule) The Rego rule to evaluate for generating column masks.withMaskRule(Optional<String> maskRule) The Rego rule to evaluate for generating column masks.withTargetDialects(List<TargetDialects> targetDialects) The output targets for partial evaluation.withTargetDialects(Optional<? extends List<TargetDialects>> targetDialects) The output targets for partial evaluation.withTargetSQLTableMappings(TargetSQLTableMappings targetSQLTableMappings) withTargetSQLTableMappings(Optional<? extends TargetSQLTableMappings> targetSQLTableMappings)
-
Constructor Details
-
CompileOptions
public CompileOptions(Optional<? extends List<String>> disableInlining, Optional<? extends List<TargetDialects>> targetDialects, Optional<? extends TargetSQLTableMappings> targetSQLTableMappings, Optional<String> maskRule) -
CompileOptions
public CompileOptions()
-
-
Method Details
-
disableInlining
A list of paths to exclude from partial evaluation inlining. -
targetDialects
The output targets for partial evaluation. Different targets will have different constraints. -
targetSQLTableMappings
-
maskRule
The Rego rule to evaluate for generating column masks. -
additionalProperties
-
builder
-
withDisableInlining
A list of paths to exclude from partial evaluation inlining. -
withDisableInlining
A list of paths to exclude from partial evaluation inlining. -
withTargetDialects
The output targets for partial evaluation. Different targets will have different constraints. -
withTargetDialects
The output targets for partial evaluation. Different targets will have different constraints. -
withTargetSQLTableMappings
public CompileOptions withTargetSQLTableMappings(Optional<? extends TargetSQLTableMappings> targetSQLTableMappings) -
withMaskRule
The Rego rule to evaluate for generating column masks. -
withMaskRule
The Rego rule to evaluate for generating column masks. -
withAdditionalProperty
-
withAdditionalProperties
-
equals
-
hashCode
public int hashCode() -
toString
-