16171819202122232425
private int _numTuplesProcessed = 0; public ProjectOperator(int[] projectIndexes) { for (final int columnNumber : projectIndexes) { final ColumnReference columnReference = new ColumnReference(new StringConversion(), columnNumber); _veList.add(columnReference); } }
2526272829303132
_ve2 = ve2; // WORKS ONLY for pattern '%value%' if (_ve2 instanceof ValueSpecification) { String value = _ve2.eval(null); value = value.replace("%", ""); _ve2 = new ValueSpecification<String>(new StringConversion(), value); } }
49505152535455
return MyUtilities.listTypeErasure(_strList); } @Override public TypeConversion getType() { return new StringConversion(); }