Package io.airlift.drift.codec.metadata
Class ThriftStructMetadata
java.lang.Object
io.airlift.drift.codec.metadata.ThriftStructMetadata
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionThriftStructMetadata(String structName, Map<String, String> idlAnnotations, Type structType, Type builderType, ThriftStructMetadata.MetadataType metadataType, Optional<ThriftMethodInjection> builderMethod, List<String> documentation, List<ThriftFieldMetadata> fields, Optional<ThriftConstructorInjection> constructorInjection, List<ThriftMethodInjection> methodInjections) -
Method Summary
-
Constructor Details
-
ThriftStructMetadata
public ThriftStructMetadata(String structName, Map<String, String> idlAnnotations, Type structType, Type builderType, ThriftStructMetadata.MetadataType metadataType, Optional<ThriftMethodInjection> builderMethod, List<String> documentation, List<ThriftFieldMetadata> fields, Optional<ThriftConstructorInjection> constructorInjection, List<ThriftMethodInjection> methodInjections)
-
-
Method Details
-
getStructName
-
getStructType
-
getStructClass
-
getBuilderType
-
getBuilderClass
-
getMetadataType
-
getBuilderMethod
-
getIdlAnnotations
-
getField
-
getDocumentation
-
getFields
-
getFields
-
getConstructorInjection
-
getMethodInjections
-
isException
public boolean isException() -
isUnion
public boolean isUnion() -
isStruct
public boolean isStruct() -
toString
-