public final class UniqueKeyHashedRelation extends Object implements HashedRelation, scala.Serializable
HashedRelation
that maps key into a single value. This implementation
assumes the key is unique.Constructor and Description |
---|
UniqueKeyHashedRelation(java.util.HashMap<org.apache.spark.sql.catalyst.expressions.Row,org.apache.spark.sql.catalyst.expressions.Row> hashTable) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.util.collection.CompactBuffer<org.apache.spark.sql.catalyst.expressions.Row> |
get(org.apache.spark.sql.catalyst.expressions.Row key) |
org.apache.spark.sql.catalyst.expressions.Row |
getValue(org.apache.spark.sql.catalyst.expressions.Row key) |
public UniqueKeyHashedRelation(java.util.HashMap<org.apache.spark.sql.catalyst.expressions.Row,org.apache.spark.sql.catalyst.expressions.Row> hashTable)
public org.apache.spark.util.collection.CompactBuffer<org.apache.spark.sql.catalyst.expressions.Row> get(org.apache.spark.sql.catalyst.expressions.Row key)
get
in interface HashedRelation
public org.apache.spark.sql.catalyst.expressions.Row getValue(org.apache.spark.sql.catalyst.expressions.Row key)