org.apache.hadoop.hbase.rest
Class ProtobufStreamingUtil

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.ProtobufStreamingUtil
All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput

public class ProtobufStreamingUtil
extends Object
implements javax.ws.rs.core.StreamingOutput


Constructor Summary
protected ProtobufStreamingUtil(ResultScanner scanner, String type, int limit, int fetchSize)
           
 
Method Summary
 void write(OutputStream outStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtobufStreamingUtil

protected ProtobufStreamingUtil(ResultScanner scanner,
                                String type,
                                int limit,
                                int fetchSize)
Method Detail

write

public void write(OutputStream outStream)
           throws IOException,
                  javax.ws.rs.WebApplicationException
Specified by:
write in interface javax.ws.rs.core.StreamingOutput
Throws:
IOException
javax.ws.rs.WebApplicationException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.