QueryBatchPointsInternal constructor

QueryBatchPointsInternal({
  1. String? collectionName,
  2. Iterable<QueryShardPoints>? queryPoints,
  3. int? shardId,
  4. Int64? timeout,
})

Implementation

factory QueryBatchPointsInternal({
  $core.String? collectionName,
  $core.Iterable<QueryShardPoints>? queryPoints,
  $core.int? shardId,
  $fixnum.Int64? timeout,
}) {
  final $result = create();
  if (collectionName != null) {
    $result.collectionName = collectionName;
  }
  if (queryPoints != null) {
    $result.queryPoints.addAll(queryPoints);
  }
  if (shardId != null) {
    $result.shardId = shardId;
  }
  if (timeout != null) {
    $result.timeout = timeout;
  }
  return $result;
}