org.apache.oozie
Class StringBlob

java.lang.Object
  extended by org.apache.oozie.StringBlob

public class StringBlob
extends Object

StringBlob to maintain compress and uncompressed data


Constructor Summary
StringBlob(byte[] byteArray)
          Construct string blob from compressed byte array
StringBlob(String inputString)
          Construct StringBlob with uncompressed string
 
Method Summary
 byte[] getRawBlob()
          Get raw blob
 String getString()
          Get uncompressed string
 void setString(String str)
          Set string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringBlob

public StringBlob(byte[] byteArray)
Construct string blob from compressed byte array

Parameters:
byteArray -

StringBlob

public StringBlob(String inputString)
Construct StringBlob with uncompressed string

Parameters:
string -
Method Detail

setString

public void setString(String str)
Set string

Parameters:
str -

getString

public String getString()
Get uncompressed string

Returns:
uncompressed string

getRawBlob

public byte[] getRawBlob()
Get raw blob

Returns:
raw blob


Copyright © 2015 Apache Software Foundation. All Rights Reserved.