Class CompositePDT
java.lang.Object
org.apache.tinkerpop.gremlin.structure.io.pdt.CompositePDT
An immutable representation of a provider-defined type consisting of a name and a map of fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquality is based solely onnameandfields(the serialized wire form).static CompositePDTCreates aCompositePDTfrom an object annotated withProviderDefined.Returns the hydrated object if this PDT was hydrated by aPDTRegistry, ornull.getName()inthashCode()Seeequals(Object)for rationale on field inclusion.toString()withHydrated(Object hydrated) Returns a copy of this PDT with the hydrated object attached.
-
Constructor Details
-
CompositePDT
-
-
Method Details
-
from
Creates aCompositePDTfrom an object annotated withProviderDefined. -
getName
-
getFields
-
withHydrated
Returns a copy of this PDT with the hydrated object attached. -
getHydrated
Returns the hydrated object if this PDT was hydrated by aPDTRegistry, ornull. -
equals
Equality is based solely onnameandfields(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()Seeequals(Object)for rationale on field inclusion. -
toString
-