public abstract class TypeParameter<T>
extends java.lang.Object
TypeDescriptor.where(org.apache.beam.sdk.values.TypeParameter<X>, org.apache.beam.sdk.values.TypeDescriptor<X>)
. For example:
static <T> TypeDescriptor<List<T>> listOf(Class<T> elementType) {
return new TypeDescriptor<List<T>>() {}
.where(new TypeParameter<T>() {}, elementType);
}
Constructor and Description |
---|
TypeParameter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |