Move batch.Importer interface to pilosa.Importer (#2347)

* Move batch.Importer interface to pilosa.Importer

In addition to moving the interface, it updates all the methods to use
dax.TableID (for example) intead of a string pilosa index name.

* Change unused onPremImporter methods to no-op.

onPremImporter is a wrapper around API which implements the Importer
interface. This is currently only used by sql3 running locally in standard
(i.e not "serverless") mode. Because sql3 always sets
`useShardTransactionalEndpoint = true`, There are several methods which this
implemtation of the Importer interface does not use, and therefore they
intentionally no-op.

(cherry picked from commit 12d608c80d)
This commit is contained in:
Travis Turner 2022-12-09 14:24:47 -06:00 • committed by Joe Friedrich
parent 9346e26158
commit c7b4e47f10

Diff content is not available