|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.store.support.OutputContext
public class OutputContext
Context strategy keeping output state.
| Constructor Summary | |
|---|---|
OutputContext()
Instantiates a new strategy context. |
|
| Method Summary | |
|---|---|
boolean |
getRolloverState()
Gets the rollover state. |
void |
init(Path path)
|
Path |
resolvePath(Path path)
Resolve path. |
void |
rollStrategies()
Roll strategies. |
void |
setCodecInfo(CodecInfo codecInfo)
Sets the codec info. |
void |
setFileNamingStrategy(FileNamingStrategy fileNamingStrategy)
Sets the file naming strategy. |
void |
setRolloverStrategy(RolloverStrategy rolloverStrategy)
Sets the rollover strategy. |
void |
setWritePosition(long position)
Sets the write position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputContext()
| Method Detail |
|---|
public void setWritePosition(long position)
position - the new write positionpublic boolean getRolloverState()
public void rollStrategies()
public Path resolvePath(Path path)
path - the path
public void init(Path path)
public void setCodecInfo(CodecInfo codecInfo)
codecInfo - the new codec infopublic void setFileNamingStrategy(FileNamingStrategy fileNamingStrategy)
fileNamingStrategy - the new file naming strategypublic void setRolloverStrategy(RolloverStrategy rolloverStrategy)
rolloverStrategy - the new rollover strategy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||