public class CHUNK extends ElementOrListStackFunction
CHUNK expects the following parameters on the stack:
5: lastchunk end Timestamp of the most recent chunk to create 4: chunkwidth Width of each chunk in time units 3: chunkcount Number of chunks GTS to produce 2: chunklabel Name of the label containing the id of the chunk 1: keepempty Should we keep empty chunks
ElementOrListStackFunction.ElementStackFunction| Constructor and Description |
|---|
CHUNK(java.lang.String name,
boolean withOverlap) |
| Modifier and Type | Method and Description |
|---|---|
ElementOrListStackFunction.ElementStackFunction |
generateFunction(WarpScriptStack stack)
Generates the function to be applied on the element(s) using the parameters on the stack.
|
applygetName, refSnapshot, setName, toStringpublic ElementOrListStackFunction.ElementStackFunction generateFunction(WarpScriptStack stack) throws WarpScriptException
ElementOrListStackFunctiongenerateFunction in class ElementOrListStackFunctionstack - The stack to be used for parameters retrieval.WarpScriptException