public final class ScriptOutputFormat extends CommonFileOutputFormat implements HadoopPoolsConfigurable
ScriptInputFormat
and ScriptOutputFormat take an arbitrary script and use that script to either
read or write Vertex objects, respectively. This can be considered the most
general InputFormat/OutputFormat possible in that Hadoop-Gremlin uses the user
provided script for all reading/writing.Constructor and Description |
---|
ScriptOutputFormat() |
Modifier and Type | Method and Description |
---|---|
<any> |
getRecordWriter(TaskAttemptContext job) |
<any> |
getRecordWriter(TaskAttemptContext job,
DataOutputStream outputStream) |
getDataOutputStream, supportsResultGraphPersistCombination
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public <any> getRecordWriter(TaskAttemptContext job) throws IOException, InterruptedException
IOException
InterruptedException
public <any> getRecordWriter(TaskAttemptContext job, DataOutputStream outputStream) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.