Class Binding2Thrift

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Binding2Thrift
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Converted from Bindings to SPARQL result set encoded in Thrift
    • Constructor Summary

      Constructors 
      Constructor Description
      Binding2Thrift​(java.io.OutputStream out, java.util.Collection<Var> vars, boolean encodeValues)  
      Binding2Thrift​(org.apache.thrift.protocol.TProtocol out, java.util.Collection<Var> vars, boolean encodeValues)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void output​(Binding binding)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Binding2Thrift

        public Binding2Thrift​(java.io.OutputStream out,
                              java.util.Collection<Var> vars,
                              boolean encodeValues)
      • Binding2Thrift

        public Binding2Thrift​(org.apache.thrift.protocol.TProtocol out,
                              java.util.Collection<Var> vars,
                              boolean encodeValues)
    • Method Detail

      • output

        public void output​(Binding binding)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable