public AbstractScaleOutClientIndexView(final AbstractScaleOutFederation fed,final String name,final long timestamp,final IMetadataIndex metadataIndex){
  if (fed == null)   throw new IllegalArgumentException();
  if (name == null)   throw new IllegalArgumentException();
  if (metadataIndex == null)   throw new IllegalArgumentException();
  this.fed=fed;
  this.name=name;
  this.timestamp=timestamp;
  this.metadataIndex=metadataIndex;
  this.metadataIndexMetadata=metadataIndex.getIndexMetadata();
  final AbstractClient<?> client=fed.getClient();
  this.capacity=client.getDefaultRangeQueryCapacity();
  this.batchOnly=client.getBatchApiOnly();
  this.taskTimeout=client.getTaskTimeout();
  this.readConsistent=client.isReadConsistent();
}

public AbstractScaleOutClientIndexView ( final AbstractScaleOutFederation fed , final String name , final long timestamp , final IMetadataIndex metadataIndex ) { if ( fed == null ) throw new IllegalArgumentException ( ) ; if ( name == null ) throw new IllegalArgumentException ( ) ; if ( metadataIndex == null ) throw new IllegalArgumentException ( ) ; this . fed = fed ; this . name = name ; this . timestamp = timestamp ; this . metadataIndex = metadataIndex ; this . metadataIndexMetadata = metadataIndex . getIndexMetadata ( ) ; final AbstractClient < ? > client = fed . getClient ( ) ; this . capacity = client . getDefaultRangeQueryCapacity ( ) ; this . batchOnly = client . getBatchApiOnly ( ) ; this . taskTimeout = client . getTaskTimeout ( ) ; this . readConsistent = client . isReadConsistent ( ) ; }
create a view on a scale - out index .
