case class In(attribute: String, values: Array[Any]) extends Filter with Product with Serializable
A filter that evaluates to true
iff the attribute evaluates to one of the values in the array.
- attribute
of the column to be evaluated;
dots
are used as separators for nested columns. If any part of the names containsdots
, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- Alphabetic
- By Inheritance
- In
- Serializable
- Serializable
- Product
- Equals
- Filter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
In(attribute: String, values: Array[Any])
- attribute
of the column to be evaluated;
dots
are used as separators for nested columns. If any part of the names containsdots
, it is quoted to avoid confusion.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attribute: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(o: Any): Boolean
- Definition Classes
- In → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findReferences(value: Any): Array[String]
- Attributes
- protected
- Definition Classes
- Filter
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- In → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
references: Array[String]
List of columns that are referenced by this filter.
List of columns that are referenced by this filter.
Note that, each element in
references
represents a column. The column name follows ANSI SQL names and identifiers: dots are used as separators for nested columns, name will be quoted if it contains special chars. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- In → AnyRef → Any
-
def
toV2: Predicate
Converts V1 filter to V2 filter
-
def
v2references: Array[Array[String]]
List of columns that are referenced by this filter.
List of columns that are referenced by this filter.
- returns
each element is a column name as an array of string multi-identifier
- Definition Classes
- Filter
- Since
3.0.0
- val values: Array[Any]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()