Class PythonCallable
java.lang.Object
org.apache.beam.sdk.schemas.logicaltypes.PythonCallable
- All Implemented Interfaces:
Serializable,Schema.LogicalType<org.apache.beam.sdk.util.PythonCallableSource,String>
public class PythonCallable
extends Object
implements Schema.LogicalType<org.apache.beam.sdk.util.PythonCallableSource,String>
A logical type for PythonCallableSource objects.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA schema type representing how to interpret the argument.The baseSchema.FieldTypeused to store values of this type.The unique identifier for this type.toBaseType(@NonNull org.apache.beam.sdk.util.PythonCallableSource input) Convert the input type to the type Java type used by the baseSchema.FieldType.@NonNull org.apache.beam.sdk.util.PythonCallableSourcetoInputType(@NonNull String base) Convert the Java type used by the baseSchema.FieldTypeto the input type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.schemas.Schema.LogicalType
getArgument
-
Field Details
-
IDENTIFIER
-
-
Constructor Details
-
PythonCallable
public PythonCallable()
-
-
Method Details
-
getIdentifier
Description copied from interface:Schema.LogicalTypeThe unique identifier for this type.- Specified by:
getIdentifierin interfaceSchema.LogicalType<org.apache.beam.sdk.util.PythonCallableSource,String>
-
getArgumentType
Description copied from interface:Schema.LogicalTypeA schema type representing how to interpret the argument.nullindicates this logical type is not parameterized by an argument.- Specified by:
getArgumentTypein interfaceSchema.LogicalType<org.apache.beam.sdk.util.PythonCallableSource,String>
-
getBaseType
Description copied from interface:Schema.LogicalTypeThe baseSchema.FieldTypeused to store values of this type.- Specified by:
getBaseTypein interfaceSchema.LogicalType<org.apache.beam.sdk.util.PythonCallableSource,String>
-
toBaseType
Description copied from interface:Schema.LogicalTypeConvert the input type to the type Java type used by the baseSchema.FieldType.- Specified by:
toBaseTypein interfaceSchema.LogicalType<org.apache.beam.sdk.util.PythonCallableSource,String>
-
toInputType
Description copied from interface:Schema.LogicalTypeConvert the Java type used by the baseSchema.FieldTypeto the input type.- Specified by:
toInputTypein interfaceSchema.LogicalType<org.apache.beam.sdk.util.PythonCallableSource,String>
-