Class SpeedyQuery

java.lang.Object
com.github.silent.samurai.speedy.api.client.SpeedyQuery

public class SpeedyQuery extends Object
  • Constructor Details

    • SpeedyQuery

      public SpeedyQuery()
  • Method Details

    • from

      public static SpeedyQuery from(@NotNull @NotNull String entity)
    • from

      public static SpeedyQuery from()
    • fromEntity

      public SpeedyQuery fromEntity(@NotNull @NotNull String from)
    • where

      public SpeedyQuery where(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode... conditionObjs)
    • orderByAsc

      public SpeedyQuery orderByAsc(@NotNull @NotNull String key)
    • orderByDesc

      public SpeedyQuery orderByDesc(@NotNull @NotNull String key)
    • expand

      public SpeedyQuery expand(@NotNull @NotNull String key)
    • pageNo

      public SpeedyQuery pageNo(@NotNull @jakarta.validation.constraints.NotNull int pageNo)
    • pageSize

      public SpeedyQuery pageSize(@NotNull @jakarta.validation.constraints.NotNull int pageSize)
    • eq

      public static com.fasterxml.jackson.databind.node.ObjectNode eq(@NotNull @NotNull Object value) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • ne

      public static com.fasterxml.jackson.databind.node.ObjectNode ne(@NotNull @NotNull Object value) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • gt

      public static com.fasterxml.jackson.databind.node.ObjectNode gt(@NotNull @NotNull Object value) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • lt

      public static com.fasterxml.jackson.databind.node.ObjectNode lt(@NotNull @NotNull Object value) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • gte

      public static com.fasterxml.jackson.databind.node.ObjectNode gte(@NotNull @NotNull Object value) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • lte

      public static com.fasterxml.jackson.databind.node.ObjectNode lte(@NotNull @NotNull Object value) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • in

      public static com.fasterxml.jackson.databind.node.ObjectNode in(@NotNull @NotNull Object... values) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • nin

      public static com.fasterxml.jackson.databind.node.ObjectNode nin(@NotNull @NotNull Object... values) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • matches

      public static com.fasterxml.jackson.databind.node.ObjectNode matches(@NotNull @NotNull Object values) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • condition

      public static com.fasterxml.jackson.databind.JsonNode condition(@NotNull @NotNull String key, @NotNull @NotNull com.fasterxml.jackson.databind.JsonNode value)
    • or

      public static com.fasterxml.jackson.databind.node.ObjectNode or(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode... conditions)
    • and

      public static com.fasterxml.jackson.databind.node.ObjectNode and(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode... conditions)
    • build

      public com.fasterxml.jackson.databind.JsonNode build()
    • prettyPrint

      public SpeedyQuery prettyPrint() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getFrom

      public String getFrom()
    • select

      public SpeedyQuery select(@NotNull @NotNull String... select)