private boolean isFromClusters ( ORid rid , Set < String > filterClusters , ODatabase database ) { if ( filterClusters == null ) { throw new IllegalArgumentException ( ) ; } String clusterName = database . getClusterNameById ( rid . getCluster ( ) . getValue ( ) . intValue ( ) ) ; return filterClusters . contains ( clusterName ) ; }
checks if this RID is from one of these clusters