Package io.deephaven.hierarchicaltable
Class HierarchicalTableTypePlugin
java.lang.Object
io.deephaven.plugin.PluginBase
io.deephaven.plugin.type.ObjectTypeBase
io.deephaven.plugin.type.ObjectTypeBase.FetchOnly
io.deephaven.hierarchicaltable.HierarchicalTableTypePlugin
- All Implemented Interfaces:
Plugin,Registration,ObjectType
@AutoService(ObjectType.class)
public class HierarchicalTableTypePlugin
extends ObjectTypeBase.FetchOnly
An object type named "HierarchicalTable" of java class type
HierarchicalTable.-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.plugin.type.ObjectTypeBase
ObjectTypeBase.FetchOnlyNested classes/interfaces inherited from interface io.deephaven.plugin.type.ObjectType
ObjectType.AuthorizationExportBehavior, ObjectType.MessageStreamNested classes/interfaces inherited from interface io.deephaven.plugin.Plugin
Plugin.Visitor<T>Nested classes/interfaces inherited from interface io.deephaven.plugin.Registration
Registration.Callback -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if, and only if, theobjectis compatible withthisobject type.name()The name of the object type.voidwriteCompatibleObjectTo(@NotNull Exporter exporter, @NotNull Object object, @NotNull OutputStream out) Serializesobjectas bytes toout.Methods inherited from class io.deephaven.plugin.type.ObjectTypeBase.FetchOnly
compatibleClientConnectionMethods inherited from class io.deephaven.plugin.type.ObjectTypeBase
clientConnection, walkMethods inherited from class io.deephaven.plugin.PluginBase
registerIntoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.plugin.type.ObjectType
authorizationExportBehaviorMethods inherited from interface io.deephaven.plugin.Plugin
registerInto
-
Constructor Details
-
HierarchicalTableTypePlugin
public HierarchicalTableTypePlugin()
-
-
Method Details
-
name
Description copied from interface:ObjectTypeThe name of the object type.- Returns:
- the name
-
isType
Description copied from interface:ObjectTypeReturns true if, and only if, theobjectis compatible withthisobject type.- Parameters:
object- the object- Returns:
- true if the
objectis compatible
-
writeCompatibleObjectTo
public void writeCompatibleObjectTo(@NotNull @NotNull Exporter exporter, @NotNull @NotNull Object object, @NotNull @NotNull OutputStream out) throws IOException Description copied from class:ObjectTypeBase.FetchOnlySerializesobjectas bytes toout. Must only be called witha compatible object. Server-side objects that should be sent as references to the client (but not themselves serialized in this payload) can be exported using theexporter- each returnedExporter.Referencewill have anindex, denoting its position on the array of exported objects to be received by the client.- Specified by:
writeCompatibleObjectToin classObjectTypeBase.FetchOnly- Parameters:
exporter- the exporterobject- the compatible objectout- the output stream- Throws:
IOException- if output stream operations failed, the export will then fail, and the client will get a generic error
-