-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[query] Move LoweredTableReaderCoercer into ExecuteContext
- Loading branch information
Showing
9 changed files
with
383 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package is.hail.backend | ||
|
||
import scala.collection.mutable | ||
|
||
package object caching { | ||
private[this] object NoCachingInstance extends mutable.AbstractMap[Any, Any] { | ||
override def +=(kv: (Any, Any)): NoCachingInstance.this.type = this | ||
override def -=(key: Any): NoCachingInstance.this.type = this | ||
override def get(key: Any): Option[Any] = None | ||
override def iterator: Iterator[(Any, Any)] = Iterator.empty | ||
override def getOrElseUpdate(key: Any, op: => Any): Any = op | ||
} | ||
|
||
def NoCaching[K, V]: mutable.Map[K, V] = | ||
NoCachingInstance.asInstanceOf[mutable.Map[K, V]] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.