asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yingyi Bu <buyin...@gmail.com>
Subject why loading an enforced index needs to cast-record?
Date Mon, 18 Apr 2016 23:57:22 GMT
Why does loading an enforced secondary index need to cast records [1] [2]
[3]?
It doesn't seem to be efficient, since what really needs to be checked is
only the type of the indexed fields.
Any thoughts?

Best,
Yingyi

[1]
https://github.com/apache/incubator-asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryBTreeOperationsHelper.java#L148
[2]
https://github.com/apache/incubator-asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryInvertedIndexOperationsHelper.java#L253
[3]
https://github.com/apache/incubator-asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryRTreeOperationsHelper.java#L310

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message