public static String toString(CompareOp op, List<Expression> children) { return (children.get(0) + CompareOpString[op.ordinal()] + children.get(1)); }
private static ExpressionComparabilityWrapper getWrapper(CompareOp op) { ExpressionComparabilityWrapper wrapper = WRAPPERS[op.ordinal()]; if (wrapper == null) { throw new IllegalStateException("Unexpected compare op of " + op + " for row value constructor"); } return wrapper; }
private static ExpressionComparabilityWrapper getWrapper(CompareOp op) { ExpressionComparabilityWrapper wrapper = WRAPPERS[op.ordinal()]; if (wrapper == null) { throw new IllegalStateException("Unexpected compare op of " + op + " for row value constructor"); } return wrapper; }
public static String toSQL(CompareOp op) { return CompareOpString[op.ordinal()]; }
public static String toSQL(CompareOp op) { return CompareOpString[op.ordinal()]; }
private static ExpressionComparabilityWrapper getWrapper(CompareOp op) { ExpressionComparabilityWrapper wrapper = WRAPPERS[op.ordinal()]; if (wrapper == null) { throw new IllegalStateException("Unexpected compare op of " + op + " for row value constructor"); } return wrapper; }
@Override public void write(DataOutput output) throws IOException { WritableUtils.writeVInt(output, op.ordinal()); super.write(output); }
private static ExpressionComparabilityWrapper getWrapper(CompareOp op) { ExpressionComparabilityWrapper wrapper = WRAPPERS[op.ordinal()]; if (wrapper == null) { throw new IllegalStateException("Unexpected compare op of " + op + " for row value constructor"); } return wrapper; }
@Override public void write(DataOutput output) throws IOException { WritableUtils.writeVInt(output, op.ordinal()); super.write(output); }
public static String toSQL(CompareOp op) { return CompareOpString[op.ordinal()]; }
@Override public void write(DataOutput output) throws IOException { WritableUtils.writeVInt(output, op.ordinal()); super.write(output); }
@Override public void write(DataOutput output) throws IOException { WritableUtils.writeVInt(output, op.ordinal()); super.write(output); }