public class StreamLocator extends Object implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
StreamLocator() |
StreamLocator(org.apache.hadoop.fs.Path path,
CompressionCodec codec) |
Modifier and Type | Method and Description |
---|---|
CompressionCodec |
getCodec() |
org.apache.hadoop.fs.Path |
getPath() |
void |
readFields(DataInput in) |
void |
setCodec(CompressionCodec codec) |
void |
setPath(org.apache.hadoop.fs.Path path) |
String |
toString() |
void |
write(DataOutput out) |
public StreamLocator()
public StreamLocator(org.apache.hadoop.fs.Path path, CompressionCodec codec)
public org.apache.hadoop.fs.Path getPath()
public void setPath(org.apache.hadoop.fs.Path path)
public CompressionCodec getCodec()
public void setCodec(CompressionCodec codec)
public void readFields(DataInput in) throws IOException
readFields
in
interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in
interface org.apache.hadoop.io.Writable
IOException
Copyright © 2020 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com