Package io.hgraphdb.gelly
Class HBaseVertexInputFormat<K,V>
- java.lang.Object
-
- org.apache.flink.api.common.io.RichInputFormat<T,org.apache.flink.connector.hbase.source.TableInputSplit>
-
- org.apache.flink.connector.hbase2.source.AbstractTableInputFormat<T>
-
- io.hgraphdb.gelly.HBaseElementInputFormat<org.apache.flink.api.java.tuple.Tuple2<K,V>>
-
- io.hgraphdb.gelly.HBaseVertexInputFormat<K,V>
-
- All Implemented Interfaces:
Serializable
,org.apache.flink.api.common.io.InputFormat<org.apache.flink.api.java.tuple.Tuple2<K,V>,org.apache.flink.connector.hbase.source.TableInputSplit>
,org.apache.flink.core.io.InputSplitSource<org.apache.flink.connector.hbase.source.TableInputSplit>
public class HBaseVertexInputFormat<K,V> extends HBaseElementInputFormat<org.apache.flink.api.java.tuple.Tuple2<K,V>>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.hgraphdb.gelly.HBaseElementInputFormat
elementType, graph, hConf, propertyName
-
-
Constructor Summary
Constructors Constructor Description HBaseVertexInputFormat(HBaseGraphConfiguration hConf)
HBaseVertexInputFormat(HBaseGraphConfiguration hConf, String propertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.flink.api.java.tuple.Tuple2<K,V>
mapResultToOutType(org.apache.hadoop.hbase.client.Result r)
-
Methods inherited from class io.hgraphdb.gelly.HBaseElementInputFormat
closeInputFormat, configure, getConfiguration, getElementType, getGraph, getPropertyName, getScanner, getTable, getTableName, initTable, isMock
-
Methods inherited from class org.apache.flink.connector.hbase2.source.AbstractTableInputFormat
close, closeTable, createInputSplits, getConnection, getHadoopConfiguration, getInputSplitAssigner, getStatistics, includeRegionInScan, nextRecord, open, reachedEnd
-
-
-
-
Constructor Detail
-
HBaseVertexInputFormat
public HBaseVertexInputFormat(HBaseGraphConfiguration hConf)
-
HBaseVertexInputFormat
public HBaseVertexInputFormat(HBaseGraphConfiguration hConf, String propertyName)
-
-
Method Detail
-
mapResultToOutType
protected org.apache.flink.api.java.tuple.Tuple2<K,V> mapResultToOutType(org.apache.hadoop.hbase.client.Result r)
- Specified by:
mapResultToOutType
in classHBaseElementInputFormat<org.apache.flink.api.java.tuple.Tuple2<K,V>>
-
-