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 TypeMethodDescriptionvoid
close()
exportId()
Get the export ID.boolean
True ifthis
has 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.boolean
release()
Releasesthis
export.session()
The session.table()
The table spec.ticketId()
Get the ticket ID.toString()
Get the typed ticket.
-
Method Details
-
exportId
Description copied from interface:HasExportId
Get the export ID.- Specified by:
exportId
in interfaceHasExportId
- Returns:
- the export ID
-
typedTicket
Description copied from interface:HasTypedTicket
Get the typed ticket.- Specified by:
typedTicket
in interfaceHasTypedTicket
- Returns:
- the typed ticket
-
pathId
Description copied from interface:HasPathId
Get the path ID. -
ticketId
Description copied from interface:HasTicketId
Get the ticket ID.- Specified by:
ticketId
in interfaceHasTicketId
- Returns:
- the ticket ID
-
session
The session.- Returns:
- the session
-
table
The table spec.- Returns:
- the table spec
-
isReleased
public boolean isReleased()True ifthis
has beenreleased
.- Returns:
- true if released
-
newReference
Creates a new reference export that has its own ownership and lifecycle. Must not be called afterthis
export has beenreleased
.- Parameters:
listener
- the listener- Returns:
- the new reference export
-
release
public boolean release()Releasesthis
export. May be called multiple times without adverse effect. -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- See Also:
-
toString
-
toReadableString
-