public class OutputArchive extends Object implements InternalConstants
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION |
static org.apache.commons.logging.Log |
LOG |
MAX_BUFFER_SIZE
Constructor and Description |
---|
OutputArchive(String path,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected static String |
newPackagePath(String canonicalPath,
int count,
int width) |
long |
write(String outputPath,
byte[] bytes,
boolean isExportDoc) |
void |
write(String uri,
InputStream is,
long size,
boolean isExportDoc) |
public static final org.apache.commons.logging.Log LOG
public static final String EXTENSION
public OutputArchive(String path, org.apache.hadoop.conf.Configuration conf)
protected static String newPackagePath(String canonicalPath, int count, int width)
canonicalPath
- count
- width
- public void write(String uri, InputStream is, long size, boolean isExportDoc) throws IOException
IOException
public long write(String outputPath, byte[] bytes, boolean isExportDoc) throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2021 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com