Package io.deephaven.client.impl
Class Export
java.lang.Object
io.deephaven.client.impl.Export
- All Implemented Interfaces:
HasExportId,HasPathId,HasTicketId,HasTypedTicket,AutoCloseable
An export represents a server-side Table that is being kept alive.
Callers must maintain ownership of their exports, and close them when no longer needed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()exportId()Get the export ID.booleanTrue ifthishas beenreleased.newReference(io.deephaven.client.impl.ExportRequest.Listener listener) Creates a new reference export that has its own ownership and lifecycle.pathId()Get the path ID.booleanrelease()Releasesthisexport.session()The session.table()The table spec.ticketId()Get the ticket ID.toString()Get the typed ticket.
-
Method Details
-
exportId
Description copied from interface:HasExportIdGet the export ID.- Specified by:
exportIdin interfaceHasExportId- Returns:
- the export ID
-
typedTicket
Description copied from interface:HasTypedTicketGet the typed ticket.- Specified by:
typedTicketin interfaceHasTypedTicket- Returns:
- the typed ticket
-
pathId
Description copied from interface:HasPathIdGet the path ID. -
ticketId
Description copied from interface:HasTicketIdGet the ticket ID.- Specified by:
ticketIdin interfaceHasTicketId- Returns:
- the ticket ID
-
session
The session.- Returns:
- the session
-
table
The table spec.- Returns:
- the table spec
-
isReleased
public boolean isReleased()True ifthishas beenreleased.- Returns:
- true if released
-
newReference
Creates a new reference export that has its own ownership and lifecycle. Must not be called afterthisexport has beenreleased.- Parameters:
listener- the listener- Returns:
- the new reference export
-
release
public boolean release()Releasesthisexport. May be called multiple times without adverse effect. -
close
public void close()- Specified by:
closein interfaceAutoCloseable- See Also:
-
toString
-
toReadableString
-