org.apache.hadoop.hive.ql.exec.vector.expressions
Class AbstractFilterStringColLikeStringScalar.ComplexChecker
java.lang.Object
org.apache.hadoop.hive.ql.exec.vector.expressions.AbstractFilterStringColLikeStringScalar.ComplexChecker
- All Implemented Interfaces:
- AbstractFilterStringColLikeStringScalar.Checker
- Enclosing class:
- AbstractFilterStringColLikeStringScalar
protected static class AbstractFilterStringColLikeStringScalar.ComplexChecker
- extends Object
- implements AbstractFilterStringColLikeStringScalar.Checker
Matches each string to a pattern with Java regular expression package.
|
Method Summary |
boolean |
check(byte[] byteS,
int start,
int len)
Checks whether the given string matches with its pattern. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
check
public boolean check(byte[] byteS,
int start,
int len)
- Description copied from interface:
AbstractFilterStringColLikeStringScalar.Checker
- Checks whether the given string matches with its pattern.
- Specified by:
check in interface AbstractFilterStringColLikeStringScalar.Checker
- Parameters:
byteS - The byte array that contains the stringstart - The start position of the stringlen - The length of the string
- Returns:
- Whether it matches or not.
Copyright © 2014 The Apache Software Foundation. All rights reserved.