public void removeStream(String streamName){
  StreamMeta sm=logicalPlan.getStream(streamName);
  if (sm == null) {
    return;
  }
  if (physicalPlan != null) {
    physicalPlan.removeLogicalStream(sm);
  }
  sm.remove();
}

public void removeStream ( String streamName ) { StreamMeta sm = logicalPlan . getStream ( streamName ) ; if ( sm == null ) { return ; } if ( physicalPlan != null ) { physicalPlan . removeLogicalStream ( sm ) ; } sm . remove ( ) ; }
remove the named stream . ignored when stream does not exist .
