Class QueryHintsResolver

  • All Implemented Interfaces:
    org.apache.calcite.rel.RelShuttle

    public class QueryHintsResolver
    extends QueryHintsRelShuttle
    Resolve and validate the query hints.

    Note: duplicate query hints are not checked here.

    For KV hints such as state ttl hints and lookup join hints, they will be merged. If the keys with same hint name conflict, only the first value is chosen.

    For LIST hints such as regular join hints, they will all be retained.

    • Constructor Detail

      • QueryHintsResolver

        public QueryHintsResolver()
    • Method Detail

      • doVisit

        protected org.apache.calcite.rel.RelNode doVisit​(org.apache.calcite.rel.RelNode node)
        Specified by:
        doVisit in class QueryHintsRelShuttle