Package io.trino.json

Class JsonPathInvocationContext

java.lang.Object
io.trino.json.JsonPathInvocationContext

public class JsonPathInvocationContext extends Object
A class representing state, used by JSON-processing functions: JSON_EXISTS, JSON_VALUE, and JSON_QUERY. It is instantiated per driver, and allows gathering and reusing information across the processed rows. It contains a JsonPathEvaluator object, which caches ResolvedFunctions used by certain path nodes. Caching the ResolvedFunctions addresses the assumption that all or most rows shall provide values of the same types to certain JSON path operators.
  • Constructor Details

    • JsonPathInvocationContext

      public JsonPathInvocationContext()
  • Method Details