org.apache.hadoop.hive.ql.exec.vector.expressions
Class AbstractFilterStringColLikeStringScalar.NoneChecker

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.vector.expressions.AbstractFilterStringColLikeStringScalar.NoneChecker
All Implemented Interfaces:
AbstractFilterStringColLikeStringScalar.Checker
Enclosing class:
AbstractFilterStringColLikeStringScalar

protected static class AbstractFilterStringColLikeStringScalar.NoneChecker
extends Object
implements AbstractFilterStringColLikeStringScalar.Checker

Matches the whole string to its pattern.


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
 

Method Detail

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 string
start - The start position of the string
len - The length of the string
Returns:
Whether it matches or not.


Copyright © 2014 The Apache Software Foundation. All rights reserved.