public BatchResult addBatch ( ApplicationDefinition appDef , String shardName , OlapBatch batch ) { Utils . require ( shardName . equals ( MONO_SHARD_NAME ) , "Shard name must be: " + MONO_SHARD_NAME ) ; return OLAPService . instance ( ) . addBatch ( appDef , shardName , batch ) ; }
Store name should always be MONO_SHARD_NAME for OLAPMono .