|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(InputStream in,
DataStoreWriter<byte[]> out)
Copy the contents of the given InputStream to the given DataStoreWriter. |
static int |
copyStream(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(InputStream in,
DataStoreWriter<byte[]> out)
throws IOException
in - the input streamout - the data store writer
IOException - Signals that an I/O exception has occurred.
public static int copyStream(InputStream in,
DataStoreWriter<byte[]> out)
throws IOException
in - the input streamout - the data store writer
IOException - Signals that an I/O exception has occurred.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||