Interface CAI1IncludeDeleted
- All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
- All Known Implementing Classes:
CAI1IncludeDeleted.IncludeLiveAndDeleted,CAI1IncludeDeleted.IncludeOnlyDeleted,CAI1IncludeDeleted.IncludeOnlyLive
public sealed interface CAI1IncludeDeleted
extends com.io7m.cedarbridge.runtime.api.CBSerializableType
permits CAI1IncludeDeleted.IncludeOnlyLive, CAI1IncludeDeleted.IncludeOnlyDeleted, CAI1IncludeDeleted.IncludeLiveAndDeleted
Include deleted data in search results.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordInclude both live and deleted data.static final recordInclude only deleted data.static final recordInclude only live data. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CAI1IncludeDeleteddeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1IncludeDeleted.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1IncludeDeleted $x) Serialize a value of type CAI1IncludeDeleted.
-
Method Details
-
serialize
static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1IncludeDeleted $x) throws IOException Serialize a value of type CAI1IncludeDeleted.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
static CAI1IncludeDeleted deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1IncludeDeleted.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1IncludeDeleted.
- Throws:
IOException
-