java.lang.Object
net.thisptr.jackson.jq.internal.tree.fieldaccess.FieldAccess
All Implemented Interfaces:
Expression
Direct Known Subclasses:
BracketExtractFieldAccess, BracketFieldAccess, IdentifierFieldAccess, StringFieldAccess

public abstract class FieldAccess extends Object implements Expression
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final com.fasterxml.jackson.databind.ObjectMapper
     
    protected final boolean
     
    protected final Expression
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FieldAccess(Expression target, boolean permissive)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static void
    emitAllPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath)
     
    protected static void
    emitArrayIndexOfPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode subseqToLookFor, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath)
     
    protected static void
    emitArrayIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode index, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath)
     
    protected static void
    emitArrayRangeIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode start, com.fasterxml.jackson.databind.JsonNode end, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath)
     
    protected static void
    emitObjectFieldPath(boolean permissive, String key, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.thisptr.jackson.jq.Expression

    apply, apply
  • Field Details

    • target

      protected final Expression target
    • permissive

      protected final boolean permissive
    • MAPPER

      private static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
  • Constructor Details

    • FieldAccess

      public FieldAccess(Expression target, boolean permissive)
  • Method Details

    • emitAllPath

      protected static void emitAllPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException
      Throws:
      JsonQueryException
    • emitObjectFieldPath

      protected static void emitObjectFieldPath(boolean permissive, String key, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException
      Throws:
      JsonQueryException
    • emitArrayIndexPath

      protected static void emitArrayIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode index, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException
      Throws:
      JsonQueryException
    • emitArrayIndexOfPath

      protected static void emitArrayIndexOfPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode subseqToLookFor, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException
      Throws:
      JsonQueryException
    • emitArrayRangeIndexPath

      protected static void emitArrayRangeIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode start, com.fasterxml.jackson.databind.JsonNode end, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException
      Throws:
      JsonQueryException