Class PrimitivePDT
java.lang.Object
org.apache.tinkerpop.gremlin.structure.io.pdt.PrimitivePDT
An immutable representation of a primitive provider-defined type consisting of a name and an opaque string value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquality is based solely onnameandvalue(the serialized wire form).Returns the hydrated object if set, ornull.getName()getValue()inthashCode()toString()withHydrated(Object hydrated) Returns a copy of this primitive PDT with the hydrated object attached.
-
Constructor Details
-
PrimitivePDT
-
-
Method Details
-
getName
-
getValue
-
withHydrated
Returns a copy of this primitive PDT with the hydrated object attached. -
getHydrated
Returns the hydrated object if set, ornull. -
equals
Equality is based solely onnameandvalue(the serialized wire form). Thehydratedfield is intentionally excluded — it is a transient, derived view cached by the deserializer viawithHydrated(Object)and is not part of the type's logical identity. -
hashCode
public int hashCode() -
toString
-