org.apache.tinkerpop.gremlin.hadoop.structure.io.script

## Class ScriptRecordReader

- java.lang.Object
- - <any>
  - - org.apache.tinkerpop.gremlin.hadoop.structure.io.script.ScriptRecordReader

-     public final class ScriptRecordReader
      extends <any>

  Author:
    Daniel Kuppitz (http://gremlin.guru), Marko A. Rodriguez (http://markorodriguez.com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static String` | `SCRIPT_ENGINE`
    `protected static String` | `SCRIPT_FILE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScriptRecordReader()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `NullWritable` | `getCurrentKey()`
    `VertexWritable` | `getCurrentValue()`
    `float` | `getProgress()`
    `void` | `initialize(InputSplit genericSplit, TaskAttemptContext context)`
    `boolean` | `nextKeyValue()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### SCRIPT_FILE

          protected static final String SCRIPT_FILE

      See Also:
        Constant Field Values

    - #### SCRIPT_ENGINE

          protected static final String SCRIPT_ENGINE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ScriptRecordReader

          public ScriptRecordReader()

  - ### Method Detail

    - #### initialize

          public void initialize(InputSplit genericSplit,
                                 TaskAttemptContext context)
                          throws IOException

      Throws:
        `IOException`

    - #### nextKeyValue

          public boolean nextKeyValue()
                               throws IOException

      Throws:
        `IOException`

    - #### getCurrentKey

          public NullWritable getCurrentKey()

    - #### getCurrentValue

          public VertexWritable getCurrentValue()

    - #### getProgress

          public float getProgress()
                            throws IOException

      Throws:
        `IOException`

    - #### close

          public void close()
                     throws IOException

      Throws:
        `IOException`

Copyright © 2013–2019 Apache Software Foundation. All rights reserved.