public boolean isCurrentRow() {
    return this.direction == Direction.CURRENT;
  }
Returns if the bound is CURRENT ROW.
@return if the bound is CURRENT ROW
ql/src/java/org/apache/hadoop/hive/ql/plan/ptf/BoundaryDef.java