Class PreviewDatafeedResponse

    • Constructor Detail

      • PreviewDatafeedResponse

        public PreviewDatafeedResponse​(BytesReference preview)
    • Method Detail

      • getDataList

        public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getDataList()
                                                                                           throws java.io.IOException
        Parses the preview to a list of Map objects
        Returns:
        List of previewed data
        Throws:
        java.io.IOException - If there is a parsing issue with the BytesReference
        java.lang.ClassCastException - If casting the raw Object entries to a Map fails
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object