it.agilelab.bigdata.wasp.consumers.spark.plugins.raw.tools
WhereCondition
Companion object WhereCondition
case class WhereCondition(outPartitionsCombination: PartitionsCombination, inPartitionsCombinations: List[PartitionsCombination]) extends Product with Serializable
Represents a single where condition used to filter the read dataframe
- outPartitionsCombination
the combinations of colName=colValue of the partitions specified in the outputModel
- inPartitionsCombinations
the combinations of colName=colValue of the partitions specified in the inputModel that are not part of the outputModel
- Alphabetic
- By Inheritance
- WhereCondition
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
WhereCondition(outPartitionsCombination: PartitionsCombination, inPartitionsCombinations: List[PartitionsCombination])
- outPartitionsCombination
the combinations of colName=colValue of the partitions specified in the outputModel
- inPartitionsCombinations
the combinations of colName=colValue of the partitions specified in the inputModel that are not part of the outputModel
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val inPartitionsCombinations: List[PartitionsCombination]
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val outPartitionsCombination: PartitionsCombination
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSparkColumn: Column
Each outPartitionsCombination is put in AND with the OR of each innPartitionsCombination Example: outPartitionsCombination = [ a=1, b=2 ] inPartitionsCombination = [ [c=3, d=5], [c=3, d=6], [c=4, d=5], [c=4, d=6] ]
Each outPartitionsCombination is put in AND with the OR of each innPartitionsCombination Example: outPartitionsCombination = [ a=1, b=2 ] inPartitionsCombination = [ [c=3, d=5], [c=3, d=6], [c=4, d=5], [c=4, d=6] ]
output = (a=1 AND b=2) AND ( (c=3 AND d=5) OR (c=3 AND d=6) OR (c=4 AND d=5) OR (c=4 AND d=6) )
- returns
the Spark Column used to filter a DataFrame
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.