Interface ReportableEntityDecoder<T,​E>

    • Method Detail

      • decode

        void decode​(T msg,
                    List<E> out,
                    String customerId,
                    @Nullable
                    IngesterContext ctx)
        Decode graphite points and dump them into an output array. The supplied customer id will be set and no customer id extraction will be attempted.
        Parameters:
        msg - Message to parse.
        out - List to output the parsed point.
        customerId - The customer id to use as the table for the result ReportPoint.
        ctx - The ingester context with extra params for decoding.
      • decode

        default void decode​(T msg,
                            List<E> out,
                            String customerId)
        Decode entities (points, spans, etc) and dump them into an output array. The supplied customer id will be set and no customer id extraction will be attempted.
        Parameters:
        msg - Message to parse.
        out - List to output the parsed point.
        customerId - The customer id to use as the table for the resulting entities.
      • decode

        default void decode​(T msg,
                            List<E> out)
        Certain decoders support decoding the customer id from the input line itself.
        Parameters:
        msg - Message to parse.
        out - List to output the parsed point.