Package io.deephaven.enterprise
Class DbGrpcHelpers
java.lang.Object
io.deephaven.enterprise.DbGrpcHelpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExportedObjectInfoMessagemakeExportedObjectInfoMessage(String name, ExportedObjectInfo type) Make anExportedObjectInfoMessagefrom a name andExportedObjectInfostatic TableDefinitionDeserialize aTableDefinitionfrom gRPC.
-
Constructor Details
-
DbGrpcHelpers
public DbGrpcHelpers()
-
-
Method Details
-
makeExportedObjectInfoMessage
public static ExportedObjectInfoMessage makeExportedObjectInfoMessage(@NotNull String name, @NotNull ExportedObjectInfo type) throws UncheckedDeephavenException Make anExportedObjectInfoMessagefrom a name andExportedObjectInfo- Parameters:
name- the name of the objecttype- theExportedObjectInfo- Returns:
- a new
ExportedObjectInfoMessage - Throws:
UncheckedDeephavenException- if a problem occurred converting the message to gRPC
-
makeTableDefinition
public static TableDefinition makeTableDefinition(@NotNull ExportedObjectInfoMessage message) throws UncheckedDeephavenException Deserialize aTableDefinitionfrom gRPC.- Parameters:
message- the message to deserialize- Returns:
- a new
TableDefinitionor null if the message does not contain a table definition, or the table definition cannot be deserialized (for example a missing custom class) - Throws:
UncheckedDeephavenException
-