Toggle navigation
Home
org.apache.phoenix.hbase.index.util.ImmutableBytesPtr to org.apache.phoenix.schema.stats.GuidePostsKey
No. of Instances - 13
No. of Commits - 1
No. of Projects - {'pheonix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Variable
tableName
to
key
tableName
to
key
tableName
to
key
tableName
to
key
tableName
to
key
tableName
to
key
tableName
to
key
tableName
to
key
Cascading Type Change (Different)
Weigher<ImmutableBytesPtr,PTableStats>
to
Weigher<GuidePostsKey,GuidePostsInfo>
Add or Remove Method invocation
CacheBuilder.newBuilder().expireAfterWrite(statsUpdateFrequency,TimeUnit.MILLISECONDS).maximumWeight(maxTableStatsCacheSize).weigher(new Weigher<GuidePostsKey,GuidePostsInfo>(){ @Override public int weigh( ImmutableBytesPtr key, PTableStats stats){ return stats.getEstimatedSize(); } } ).removalListener(new PhoenixStatsCacheRemovalListener()).build(new StatsLoader())
to
CacheBuilder.newBuilder().expireAfterWrite(statsUpdateFrequency,TimeUnit.MILLISECONDS).maximumWeight(maxTableStatsCacheSize).weigher(new Weigher<GuidePostsKey,GuidePostsInfo>(){ @Override public int weigh( GuidePostsKey key, GuidePostsInfo info){ return info.getEstimatedSize(); } } ).removalListener(new PhoenixStatsCacheRemovalListener()).build(new StatsLoader())