|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.store.support.StoreUtils
public abstract class StoreUtils
Utility methods for store package.
Field Summary | |
---|---|
static int |
BUFFER_SIZE
|
Constructor Summary | |
---|---|
StoreUtils()
|
Method Summary | |
---|---|
static int |
copy(java.io.InputStream in,
DataStoreWriter<byte[]> out)
Copy the contents of the given InputStream to the given DataStoreWriter. |
static int |
copyStream(java.io.InputStream in,
DataStoreWriter<byte[]> out)
Copy the contents of the given InputStream to the given DataStoreWriter. |
static byte[] |
getUTF8CsvDelimiter()
Gets the default utf8 csv delimiter. |
static byte[] |
getUTF8DefaultDelimiter()
Gets the default utf8 delimiter. |
static byte[] |
getUTF8TabDelimiter()
Gets the default utf8 tab delimiter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BUFFER_SIZE
Constructor Detail |
---|
public StoreUtils()
Method Detail |
---|
public static byte[] getUTF8DefaultDelimiter()
public static byte[] getUTF8CsvDelimiter()
public static byte[] getUTF8TabDelimiter()
public static int copy(java.io.InputStream in, DataStoreWriter<byte[]> out) throws java.io.IOException
in
- the input streamout
- the data store writer
java.io.IOException
- Signals that an I/O exception has occurred.public static int copyStream(java.io.InputStream in, DataStoreWriter<byte[]> out) throws java.io.IOException
in
- the input streamout
- the data store writer
java.io.IOException
- Signals that an I/O exception has occurred.
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |