Ejemplo n.º 1
0
  public ResolvedIndex(String connectorId, ConnectorResolvedIndex index) {
    Preconditions.checkNotNull(connectorId, "connectorId is null");
    Preconditions.checkNotNull(index, "index is null");

    indexHandle = new IndexHandle(connectorId, index.getIndexHandle());
    undeterminedTupleDomain = fromConnectorDomain(connectorId, index.getUnresolvedTupleDomain());
  }
Ejemplo n.º 2
0
  public ResolvedIndex(
      ConnectorId connectorId,
      ConnectorTransactionHandle transactionHandle,
      ConnectorResolvedIndex index) {
    requireNonNull(connectorId, "connectorId is null");
    requireNonNull(index, "index is null");

    indexHandle = new IndexHandle(connectorId, transactionHandle, index.getIndexHandle());
    undeterminedTupleDomain = index.getUnresolvedTupleDomain();
  }