if(isBDB && _joinPredicate == null){
throw new RuntimeException("Please provide _joinPredicate if you want to run BDB!");
}
if(isBDB && (hierarchyPosition == StormComponent.FINAL_COMPONENT)){
_joiner = new StormThetaJoinBDB(_firstParent, _secondParent, this, allCompNames,
_joinPredicate, hierarchyPosition, builder, killer, conf, _interComp);
}else{
_joiner = new StormThetaJoin(_firstParent, _secondParent, this, allCompNames,
_joinPredicate, hierarchyPosition, builder, killer, conf, _interComp, _isContentSensitive,_contentSensitiveThetaJoinWrapper);
}