@Override @PublicEvolving public boolean isBasicType() { return false; }
/** * Returns the user code class loader. * Only relevant if this configuration instance was deserialized from binary form. * * @return the user code class loader */ @Internal public final ClassLoader getUserCodeClassLoader() { return userCodeClassLoader; }
@VisibleForTesting LinkedMap getPendingOffsetsToCommit() { return pendingOffsetsToCommit; } }
@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; }
@Override @PublicEvolving public boolean isTupleType() { return false; }
@Override @PublicEvolving public int getArity() { return 1; }
/** * 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 } }