Toggle navigation
Home
org.apache.phoenix.schema.stats.PTableStats to org.apache.phoenix.schema.stats.GuidePostsInfo
No. of Instances - 15
No. of Commits - 1
No. of Projects - {'pheonix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Variable
stats
to
info
stats
to
info
stats
to
info
tableStats
to
info
stats
to
info
stats
to
info
stats
to
guidePostsInfo
Other
[physicalName, clientTimeStamp]
to
key
new ImmutableBytesPtr(physicalName)
to
key
Cascading Type Change (Similar)
PTableStats
to
GuidePostsInfo
PTableStats
to
GuidePostsInfo
PTableStats
to
GuidePostsInfo
PTableStats
to
GuidePostsInfo
PTableStats
to
GuidePostsInfo
Add or Remove Method invocation
scn
to
SchemaUtil.getEmptyColumnFamily(table)
tableRef.getTable()
to
table
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())
Update argument list (Method invocation)
getTableStats
to
getTableStats
Cascading Type Change (Different)
Weigher<ImmutableBytesPtr,PTableStats>
to
Weigher<GuidePostsKey,GuidePostsInfo>