(final Object... args)
| 212 | } |
| 213 | |
| 214 | static public Tuple buildBinTuple(final Object... args) throws IOException { |
| 215 | return TupleFactory.getInstance().newTuple(Lists.transform( |
| 216 | Lists.newArrayList(args), new Function<Object, DataByteArray>() { |
| 217 | @Override |
| 218 | public DataByteArray apply(Object o) { |
| 219 | if (o == null) { |
| 220 | return null; |
| 221 | } |
| 222 | try { |
| 223 | return new DataByteArray(DataType.toBytes(o)); |
| 224 | } catch (ExecException e) { |
| 225 | return null; |
| 226 | } |
| 227 | } |
| 228 | })); |
| 229 | } |
| 230 | |
| 231 | static public <T>Tuple createTuple(T[] s) |
| 232 | { |
nothing calls this directly
no test coverage detected