From c7b4e47f10f847b8c1b4baa98993383f65934d84 Mon Sep 17 00:00:00 2001 From: Travis Turner Date: Fri, 9 Dec 2022 14:24:47 -0600 Subject: [PATCH] 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 12d608c80dc6a9d97978d94a68cb5bc676e49b26)