Loading

->V

conversion pig

The ->V function converts a list of objects into a Pig Vector (VLIST).

VLIST are represented as lists on the stack.

->V is available since version 1.0.11.

See also

Signatures

Examples

//PIG uses java Vector classes. WARP10 uses ArrayLists. //Both are lists of object, both are represented as list on the stack. [ 42 41 40 42.42 "foo" ] ->V DUP DUP TYPEOF SWAP V-> DUP TYPEOF