com.intel.hadoop.graphbuilder.types
Class StringType

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.types.StringType
All Implemented Interfaces:
java.lang.Comparable<StringType>, net.minidev.json.JSONAware, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<StringType>

public class StringType
extends java.lang.Object
implements org.apache.hadoop.io.WritableComparable<StringType>, net.minidev.json.JSONAware

Basic string type in the library.


Constructor Summary
StringType()
           
StringType(java.lang.String str)
           
 
Method Summary
 int compareTo(StringType arg0)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String get()
           
 int hashCode()
           
 void readFields(java.io.DataInput arg0)
           
 void set(java.lang.String s)
           
 java.lang.String toJSONString()
           
 java.lang.String toString()
           
 void write(java.io.DataOutput arg0)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringType

public StringType()

StringType

public StringType(java.lang.String str)
Method Detail

readFields

public void readFields(java.io.DataInput arg0)
                throws java.io.IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
java.io.IOException

write

public void write(java.io.DataOutput arg0)
           throws java.io.IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

get

public java.lang.String get()

set

public void set(java.lang.String s)

compareTo

public int compareTo(StringType arg0)
Specified by:
compareTo in interface java.lang.Comparable<StringType>

toJSONString

public java.lang.String toJSONString()
Specified by:
toJSONString in interface net.minidev.json.JSONAware