|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.store.support.SequenceFileWriterHolder<T>
T - a type of a writerpublic class SequenceFileWriterHolder<T extends Closeable>
Holder object for SequenceFile writer.
| Constructor Summary | |
|---|---|
SequenceFileWriterHolder()
Instantiates a new sequence file writer holder. |
|
SequenceFileWriterHolder(T writer)
Instantiates a new sequence file writer holder. |
|
SequenceFileWriterHolder(T writer,
Path path)
Instantiates a new sequence file writer holder. |
|
| Method Summary | |
|---|---|
void |
close()
|
Path |
getPath()
Gets the path. |
T |
getWriter()
Gets the writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequenceFileWriterHolder()
public SequenceFileWriterHolder(T writer)
writer - the writer
public SequenceFileWriterHolder(T writer,
Path path)
writer - the writerpath - the path| Method Detail |
|---|
public void close()
throws IOException
close in interface CloseableIOExceptionpublic T getWriter()
public Path getPath()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||