final class ThriftStructMetaData[T <: ThriftStruct] extends AnyRef
A simple class for generic introspection on ThriftStruct classes.
- Alphabetic
- By Inheritance
- ThriftStructMetaData
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ThriftStructMetaData(codec: ThriftStructCodec[T], structFields: Seq[ThriftStructField[T]], structFieldInfos: Seq[ThriftStructFieldInfo], unionFieldInfos: Seq[ThriftUnionFieldInfo[ThriftUnion with ThriftStruct, _]], annotations: Map[String, String])
A constructor that when used, does not use reflection to populate the metadata and rather uses the information that is passed in.
- new ThriftStructMetaData(codec: ThriftStructCodec[T])
A constructor that when used, the metadata is populated via reflection.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val codec: ThriftStructCodec[T]
- def codecClass: Class[_]
The Class object for the ThriftStructCodec subclass.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fieldInfos: Seq[ThriftStructFieldInfo]
For non-unions, will return its ThriftStructFieldInfos.
For non-unions, will return its ThriftStructFieldInfos.
For unions, will return an empty
Seq. - val fields: Seq[ThriftStructField[T]]
A Seq of ThriftStructFields representing the fields defined in the ThriftStruct.
A Seq of ThriftStructFields representing the fields defined in the ThriftStruct.
For unions, this will return an empty Seq.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val structAnnotations: Map[String, String]
Parsed annotations at the struct or union level.
Parsed annotations at the struct or union level. Left hand side of equal sign is the key, right side is the value.
- val structClass: Class[T]
The Class object for ThriftStruct subclass.
The Class object for ThriftStruct subclass.
For a union, this is the parent trait of all branches for the union.
- val structClassName: String
The fully qualified name of the ThriftStruct subclass.
- val structName: String
Gets the unqualified name of the struct.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unionFields: Seq[ThriftUnionFieldInfo[ThriftUnion with ThriftStruct, _]]
For unions, will return its ThriftUnionFieldInfos.
For unions, will return its ThriftUnionFieldInfos.
For non-unions, will return an empty
Seq. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()