Class TriangleTreeWriter

java.lang.Object
org.elasticsearch.lucene.spatial.TriangleTreeWriter

public class TriangleTreeWriter extends Object
This is a tree-writer that serializes a list of ShapeField.DecodedTriangle as an interval tree into a byte array.
  • Method Details

    • writeTo

      public static void writeTo(StreamOutput out, List<org.apache.lucene.index.IndexableField> fields) throws IOException
      Serialize the interval tree in the provided data output
      Throws:
      IOException