question: public static RunStats delegateGetBucketForBinaryBase64 ( int buckets ) throws Exception { Long startTime = System . currentTimeMillis ( ) ; PrimaryIndexBucketGeneratorImpl ibg = new PrimaryIndexBucketGeneratorImpl ( FieldDataType . BINARY , buckets ) ; PrimaryIndexBucketLocatorImpl locator = new PrimaryIndexBucketLocatorImpl ( null , null , null , null , null , null , ibg . generateBuckets ( ) , null , null ) ; logger . debug ( "test to getBucket for the bucket distribution on BinaryBase64 Values" ) ; HashMap < Long , List < Object > > hm = new HashMap < > ( ) ; SummaryStatistics stats = new SummaryStatistics ( ) ; for ( int i = 0 ; i < 40000 ; i ++ ) { String randomString = RandomStringUtils . randomAlphanumeric ( 40 ) ; byte [ ] bytesEncoded = Base64 . encodeBase64 ( randomString . getBytes ( ) ) ; String line = new String ( bytesEncoded ) ; Long bucketId = locator . getBucket ( line , FieldDataType . BINARY ) ; TestUtils . calculate ( hm , stats , bucketId , line ) ; } Long runTime = System . currentTimeMillis ( ) - startTime ; RunStats runStats = new RunStats ( "BucketForBinaryBase64" , FieldDataType . BINARY , runTime , stats , hm ) ; logger . debug ( runStats . toString ( ) ) ; return runStats ; }
target:  Test to check the Bucket Distribution for BinaryBase64 Values