T - Stream element typepublic class StreamSchema<T> extends Object implements Serializable
| Constructor and Description |
|---|
StreamSchema(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo,
int[] fieldIndexes,
String[] fieldNames) |
StreamSchema(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo,
String... fieldNames) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getFieldIndexes() |
String[] |
getFieldNames() |
org.apache.flink.api.common.typeinfo.TypeInformation[] |
getFieldTypes() |
StreamSerializer<T> |
getStreamSerializer() |
org.apache.flink.api.common.typeinfo.TypeInformation<T> |
getTypeInfo() |
org.apache.flink.api.common.typeutils.TypeSerializer<T> |
getTypeSerializer() |
boolean |
isAtomicType() |
boolean |
isCaseClassType() |
boolean |
isCompositeType() |
boolean |
isPojoType() |
boolean |
isTupleType() |
void |
setTypeSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> typeSerializer) |
public StreamSchema(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo, String... fieldNames)
public boolean isAtomicType()
public boolean isTupleType()
public boolean isPojoType()
public boolean isCaseClassType()
public boolean isCompositeType()
public org.apache.flink.api.common.typeinfo.TypeInformation<T> getTypeInfo()
public int[] getFieldIndexes()
public String[] getFieldNames()
public org.apache.flink.api.common.typeinfo.TypeInformation[] getFieldTypes()
public StreamSerializer<T> getStreamSerializer()
public org.apache.flink.api.common.typeutils.TypeSerializer<T> getTypeSerializer()
public void setTypeSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> typeSerializer)
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.