@Override @PublicEvolving public boolean isBasicType() { return false; }
@Override @PublicEvolving public boolean isTupleType() { return false; }
@Override @PublicEvolving public Class<Nothing> getTypeClass() { return Nothing.class; }
@Override @PublicEvolving public boolean isKeyType() { return false; }
/** * Checks if this type information represents a Tuple type. * Tuple types are subclasses of the Java API tuples. * * @return True, if this type information describes a tuple type, false otherwise. */ @PublicEvolving public abstract boolean isTupleType();
/** * Gets the class of the type represented by this type information. * * @return The class of the type represented by this type information. */ @PublicEvolving public abstract Class<T> getTypeClass();
@Override @PublicEvolving public boolean isBasicType() { return false; }
@Override @PublicEvolving public int getTotalFields() { return 1; }
/** * Returns the type class of the composite type * * @return Type class of the composite type */ @PublicEvolving public Class<T> getTypeClass() { return typeClass; }
/** * Returns the type of the (nested) field at the given field expression position. * Wildcards are not allowed. * * @param fieldExpression The field expression for which the field of which the type is returned. * @return The type of the field at the given field expression. */ @PublicEvolving public abstract <X> TypeInformation<X> getTypeAt(String fieldExpression);
@PublicEvolving protected interface TypeComparatorBuilder<T> { void initializeTypeComparatorBuilder(int size); void addComparatorField(int fieldId, TypeComparator<?> comparator); TypeComparator<T> createTypeComparator(ExecutionConfig config); }
@Override @PublicEvolving public boolean isBasicType() { return false; }
@Override @PublicEvolving public int getTotalFields() { return 1; }
/** * Gets the maximum degree of parallelism defined for the program. * * The maximum degree of parallelism specifies the upper limit for dynamic scaling. It also * defines the number of key groups used for partitioned state. * * @return Maximum degree of parallelism */ @PublicEvolving public int getMaxParallelism() { return maxParallelism; }
@Override @PublicEvolving public boolean isTupleType() { return false; }
/** * Closes this InputFormat instance. This method is called once per parallel instance. * Resources allocated during {@link #openInputFormat()} should be closed in this method. * * @see InputFormat * @throws IOException in case closing the resources failed */ @PublicEvolving public void closeInputFormat() throws IOException { //do nothing here, just for subclasses } }
/** * @deprecated will be removed in a future version */ @PublicEvolving @Deprecated public boolean isLatencyTrackingEnabled() { return isLatencyTrackingConfigured && latencyTrackingInterval > 0; }
@Override @PublicEvolving public TypeComparator<T> createComparator(boolean sortOrderAscending, ExecutionConfig executionConfig) { return new EnumComparator<T>(sortOrderAscending); }
/** * Gets the type information of the component type. * @return The type information of the component type. */ @PublicEvolving public TypeInformation<?> getComponentType() { return BasicTypeInfo.getInfoFor(getComponentClass()); }
@Override @PublicEvolving public TypeSerializer<Either<L, R>> createSerializer(ExecutionConfig config) { return new EitherSerializer<L, R>(leftType.createSerializer(config), rightType.createSerializer(config)); }