Class StoreRecordFunction<T>

    • Constructor Detail

      • StoreRecordFunction

        public StoreRecordFunction​(@Nonnull
                                   String name)
    • Method Detail

      • planHash

        public int planHash​(@Nonnull
                            PlanHashable.PlanHashKind hashKind)
        Description copied from interface: PlanHashable
        Return a hash similar to hashCode, but with the additional guarantee that is is stable across JVMs.
        Parameters:
        hashKind - the "kind" of hash to calculate. Each kind of hash has a particular logic with regards to included and excluded items.
        Returns:
        a stable hash code
      • queryHash

        public int queryHash​(@Nonnull
                             QueryHashable.QueryHashKind hashKind)
        Description copied from interface: QueryHashable
        Return a hash similar to hashCode, but with the additional guarantee that is is stable across JVMs.
        Parameters:
        hashKind - the "kind" of hash to calculate. Each kind of hash has a particular logic with regards to included and excluded items.
        Returns:
        a stable hash code