Class Sqlite

java.lang.Object
com.styra.opa.openapi.models.shared.Sqlite

public class Sqlite extends Object
  • Constructor Details

  • Method Details

    • query

      public Optional<String> query()
      String representing the SQL equivalent of the conditions under which the query is true
    • masks

      public Optional<Map<String,Map<String,MaskingRule>>> masks()
      Column masking rules, where the first two nested keys represent the table name and the column name, and the value describes which masking function to use.
    • builder

      public static final Sqlite.Builder builder()
    • withQuery

      public Sqlite withQuery(String query)
      String representing the SQL equivalent of the conditions under which the query is true
    • withQuery

      public Sqlite withQuery(Optional<String> query)
      String representing the SQL equivalent of the conditions under which the query is true
    • withMasks

      public Sqlite withMasks(Map<String,Map<String,MaskingRule>> masks)
      Column masking rules, where the first two nested keys represent the table name and the column name, and the value describes which masking function to use.
    • withMasks

      public Sqlite withMasks(Optional<? extends Map<String,Map<String,MaskingRule>>> masks)
      Column masking rules, where the first two nested keys represent the table name and the column name, and the value describes which masking function to use.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object