|
Oracle® In-Database Container for Hadoop Java API Reference Release 1.0.1 E54638-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.sql.hadoop.DBHadoopUtil
public class DBHadoopUtil
Provides utility methods for writing oc4hadoop applications.
Constructor Summary | |
---|---|
DBHadoopUtil()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Prints a description of the Oracle In Database Contaniner for Hadoop .jar file to System.out. |
static void |
readSQL(java.sql.SQLInput stream,
org.apache.hadoop.io.Writable object)
Utility method for reading data of a custom writable from BLOB and it reads data through streaming BLOB with the help of writable's readFields method. |
static void |
writeSQL(java.sql.SQLOutput stream,
org.apache.hadoop.io.Writable object)
Utlity method for writeSQL method of custom writable writiting data in BLOB through streaming with the help of writable's write method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBHadoopUtil()
Method Detail |
---|
public static void writeSQL(java.sql.SQLOutput stream, org.apache.hadoop.io.Writable object) throws java.sql.SQLException
stream
- stream where BLOB data will be writtenobject
- Object which will be written to stream
java.sql.SQLException
public static void readSQL(java.sql.SQLInput stream, org.apache.hadoop.io.Writable object) throws java.sql.SQLException
stream
- stream from which data will be readobject
- Object of which data will be read
java.sql.SQLException
public static void main(java.lang.String[] args) throws java.io.IOException
args
- Ignored
java.io.IOException
|
Oracle® In-Database Container for Hadoop Java API Reference Release 1.0.1 E54638-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |