Class ConfigurationCompilerSerde
java.lang.Object
com.espertech.esper.common.client.configuration.compiler.ConfigurationCompilerSerde
- All Implemented Interfaces:
Serializable
Serialization and Deserialization options.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSerdeProviderFactory
(String className) Add a serde provider factory.Returns currently-registered serde provider factories.boolean
Returns indicator whether the runtime provides the serde for extended builtin classes (see doc).boolean
Returns indicator whether the runtime considers theExternalizable
interface for serializing types that implement Externalizable.boolean
Returns indicator whether the runtime considers theSerializable
interface for serializing types that implement Serializableboolean
Returns indicator whether the runtime, for types for which no other serde is available, falls back to using JVM serialization.void
setEnableExtendedBuiltin
(boolean enableExtendedBuiltin) Sets indicator whether the runtime provides the serde for extended builtin classes (see doc).void
setEnableExternalizable
(boolean enableExternalizable) Sets indicator whether the runtime considers theExternalizable
interface for serializing types that implement Externalizable.void
setEnableSerializable
(boolean enableSerializable) Sets indicator whether the runtime considers theSerializable
interface for serializing types that implement Serializablevoid
setEnableSerializationFallback
(boolean enableSerializationFallback) Sets indicator whether the runtime, for types for which no other serde is available, falls back to using JVM serialization.void
setSerdeProviderFactories
(List<String> serdeProviderFactories) Sets the currently-registered serde provider factories.
-
Constructor Details
-
ConfigurationCompilerSerde
public ConfigurationCompilerSerde()
-
-
Method Details
-
isEnableExtendedBuiltin
public boolean isEnableExtendedBuiltin()Returns indicator whether the runtime provides the serde for extended builtin classes (see doc).- Returns:
- indicator
-
setEnableExtendedBuiltin
public void setEnableExtendedBuiltin(boolean enableExtendedBuiltin) Sets indicator whether the runtime provides the serde for extended builtin classes (see doc).- Parameters:
enableExtendedBuiltin
- indicator
-
isEnableSerializable
public boolean isEnableSerializable()Returns indicator whether the runtime considers theSerializable
interface for serializing types that implement Serializable- Returns:
- indicator
-
setEnableSerializable
public void setEnableSerializable(boolean enableSerializable) Sets indicator whether the runtime considers theSerializable
interface for serializing types that implement Serializable- Parameters:
enableSerializable
- indicator
-
isEnableExternalizable
public boolean isEnableExternalizable()Returns indicator whether the runtime considers theExternalizable
interface for serializing types that implement Externalizable.- Returns:
- indicator
-
setEnableExternalizable
public void setEnableExternalizable(boolean enableExternalizable) Sets indicator whether the runtime considers theExternalizable
interface for serializing types that implement Externalizable.- Parameters:
enableExternalizable
- indicator to set
-
getSerdeProviderFactories
Returns currently-registered serde provider factories. Each entry is the fully-qualified class name of the serde provider factory.- Returns:
- serde provider factory class names
-
addSerdeProviderFactory
Add a serde provider factory. Provide the fully-qualified class name of the serde provider factory.- Parameters:
className
- serde provider factory class name
-
setSerdeProviderFactories
Sets the currently-registered serde provider factories. Each entry is the fully-qualified class name of the serde provider factory.- Parameters:
serdeProviderFactories
- class names
-
isEnableSerializationFallback
public boolean isEnableSerializationFallback()Returns indicator whether the runtime, for types for which no other serde is available, falls back to using JVM serialization. Fallback does not check whether the type actually implements Serializable.- Returns:
- indicator
-
setEnableSerializationFallback
public void setEnableSerializationFallback(boolean enableSerializationFallback) Sets indicator whether the runtime, for types for which no other serde is available, falls back to using JVM serialization. Fallback does not check whether the type actually implements Serializable.- Parameters:
enableSerializationFallback
- indicator
-