Class StringTabScheme
- java.lang.Object
-
- com.digitalpebble.stormcrawler.util.StringTabScheme
-
- All Implemented Interfaces:
Serializable
,org.apache.storm.spout.Scheme
public class StringTabScheme extends Object implements org.apache.storm.spout.Scheme
Converts a byte array into URL + metadata- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringTabScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
deserialize(ByteBuffer bytes)
org.apache.storm.tuple.Fields
getOutputFields()
-
-
-
Method Detail
-
deserialize
public List<Object> deserialize(ByteBuffer bytes)
- Specified by:
deserialize
in interfaceorg.apache.storm.spout.Scheme
-
getOutputFields
public org.apache.storm.tuple.Fields getOutputFields()
- Specified by:
getOutputFields
in interfaceorg.apache.storm.spout.Scheme
-
-