public class Session
extends java.lang.Object
Constructor and Description |
---|
Session()
Constructor
|
Session(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
Frame |
assign(Key<Frame> id,
Frame src)
Update a global ID, maintaining sharing of Vecs
|
Vec[] |
copyOnWrite(Frame fr,
int[] cols)
Support C-O-W optimizations: the following list of columns are about to be updated.
|
Val |
end(Val returning)
Normal session exit.
|
java.lang.RuntimeException |
endQuietly(java.lang.Throwable ex)
The Rapids call threw an exception.
|
Val |
exec(AstRoot ast,
AstFunction scope)
Execute an AstRoot in the current Session with much assertion-checking
|
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue) |
java.lang.String |
id()
Return this session's id.
|
void |
remove(Frame fr)
Remove and delete a session-tracked frame.
|
void |
setProperty(java.lang.String key,
java.lang.String value) |
Frame |
track_tmp(Frame fr)
Track a freshly minted tmp frame.
|
public java.lang.String id()
public void setProperty(java.lang.String key, java.lang.String value)
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
public Val exec(AstRoot ast, AstFunction scope)
ast
- Rapids expression to executescope
- ?public Val end(Val returning)
public java.lang.RuntimeException endQuietly(java.lang.Throwable ex)
public Frame track_tmp(Frame fr)
public void remove(Frame fr)
public Frame assign(Key<Frame> id, Frame src)