Class HBaseEdgeInputFormat

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

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

    Setting conf.set(HBaseEdgeInputFormat.EDGE_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 HBaseEdgeOutputFormat

    • Field Detail

      • BASE_FORMAT

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

      • HBaseEdgeInputFormat

        public HBaseEdgeInputFormat()