Package io.airlift.drift.codec.metadata
Interface ThriftTypeReference
- All Known Implementing Classes:
DefaultThriftTypeReference,RecursiveThriftTypeReference
public interface ThriftTypeReference
An interface to either a resolved
ThriftType or the information to compute one.
Used when computing struct/union metadata, as a placeholder for field types that might not be directly resolvable yet (in cases of recursive types).
-
Method Summary
-
Method Details
-
getJavaType
Type getJavaType() -
getProtocolType
ThriftProtocolType getProtocolType() -
isRecursive
boolean isRecursive() -
get
ThriftType get()
-