public PredExp getFieldExpr(int valType) throws PredExpException { switch (valType) { case ParticleType.INTEGER: return PredExp.integerBin(getField()); case ParticleType.STRING: return PredExp.stringBin(getField()); case ParticleType.GEOJSON: return PredExp.geoJSONBin(getField()); default: throw new PredExpException("PredExp Unsupported Particle Type: " + valType); } }
stmt.setFilter(Filter.range(binName, begin, end)); stmt.setPredExp( PredExp.stringBin("bin3"), PredExp.stringValue("prefix.*suffix"), PredExp.stringRegex(RegexFlag.ICASE | RegexFlag.NEWLINE)