Class HBaseVertexInputFormat

  • All Implemented Interfaces:
    org.apache.giraph.conf.GiraphConfigurationSettable<ObjectWritable,​VertexValueWritable,​org.apache.hadoop.io.Writable>, org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<ObjectWritable,​VertexValueWritable,​org.apache.hadoop.io.Writable>

    public class HBaseVertexInputFormat
    extends org.apache.giraph.io.VertexValueInputFormat<ObjectWritable,​VertexValueWritable>
    Base class that wraps an HBase TableInputFormat and underlying Scan object to help instantiate vertices from an HBase table. All the static TableInputFormat properties necessary to configure an HBase job are available.

    Setting conf.set(HBaseVertexInputFormat.VERTEX_INPUT_TABLE, "in_table"); from the job setup routine will properly delegate to the TableInputFormat instance. The Configurable interface prevents specific wrapper methods from having to be called.

    Works with HBaseVertexOutputFormat

    • Field Detail

      • BASE_FORMAT

        protected static final TableInputFormat BASE_FORMAT
        delegate HBase table input format
    • Constructor Detail

      • HBaseVertexInputFormat

        public HBaseVertexInputFormat()