File tree Expand file tree Collapse file tree 11 files changed +17
-79
lines changed
main/java/com/google/firebase/firestore
test/java/com/google/firebase/firestore Expand file tree Collapse file tree 11 files changed +17
-79
lines changed Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package com .google .firebase .firestore .local ;
15
+ package com .google .firebase .firestore .bundle ;
16
16
17
17
import com .google .firebase .firestore .model .SnapshotVersion ;
18
18
19
19
/** Represents a Firestore bundle saved by the SDK in its local storage. */
20
- /* package */ class BundleMetadata {
20
+ /* package */ public class BundleMetadata {
21
21
private final String bundleId ;
22
22
private final int version ;
23
23
private final SnapshotVersion createTime ;
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package com .google .firebase .firestore .local ;
15
+ package com .google .firebase .firestore .bundle ;
16
16
17
17
import android .util .Base64 ;
18
18
import androidx .annotation .Nullable ;
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package com .google .firebase .firestore .local ;
15
+ package com .google .firebase .firestore .bundle ;
16
16
17
17
import com .google .firebase .firestore .model .DocumentKey ;
18
18
import com .google .firebase .firestore .model .SnapshotVersion ;
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package com .google .firebase .firestore .local ;
15
+ package com .google .firebase .firestore .bundle ;
16
16
17
17
import com .google .firebase .firestore .core .Query ;
18
18
import com .google .firebase .firestore .core .Target ;
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package com .google .firebase .firestore .local ;
15
+ package com .google .firebase .firestore .bundle ;
16
16
17
17
import com .google .firebase .firestore .model .SnapshotVersion ;
18
18
19
19
/** Represents a named query saved by the SDK in its local storage. */
20
- /* package */ class NamedQuery {
20
+ /* package */ public class NamedQuery {
21
21
private final String name ;
22
22
private final BundledQuery bundledQuery ;
23
23
private final SnapshotVersion readTime ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
package com .google .firebase .firestore .local ;
16
16
17
17
import androidx .annotation .Nullable ;
18
+ import com .google .firebase .firestore .bundle .BundleMetadata ;
19
+ import com .google .firebase .firestore .bundle .NamedQuery ;
18
20
19
21
/** Provides methods to save and read Firestore bundles. */
20
22
public interface BundleCache {
Original file line number Diff line number Diff line change 15
15
package com .google .firebase .firestore .local ;
16
16
17
17
import androidx .annotation .Nullable ;
18
+ import com .google .firebase .firestore .bundle .BundleMetadata ;
19
+ import com .google .firebase .firestore .bundle .NamedQuery ;
18
20
import java .util .HashMap ;
19
21
import java .util .Map ;
20
22
Original file line number Diff line number Diff line change 18
18
19
19
import androidx .annotation .Nullable ;
20
20
import com .google .firebase .Timestamp ;
21
+ import com .google .firebase .firestore .bundle .BundleMetadata ;
22
+ import com .google .firebase .firestore .bundle .NamedQuery ;
21
23
import com .google .firebase .firestore .model .SnapshotVersion ;
22
24
import com .google .firestore .proto .BundledQuery ;
23
25
import com .google .protobuf .InvalidProtocolBufferException ;
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package com .google .firebase .firestore .local ;
15
+ package com .google .firebase .firestore .bundle ;
16
16
17
17
import static com .google .firebase .firestore .testutil .TestUtil .filter ;
18
18
import static com .google .firebase .firestore .testutil .TestUtil .key ;
Original file line number Diff line number Diff line change 19
19
import static org .junit .Assert .assertNull ;
20
20
21
21
import com .google .firebase .Timestamp ;
22
+ import com .google .firebase .firestore .bundle .BundleMetadata ;
23
+ import com .google .firebase .firestore .bundle .BundledQuery ;
24
+ import com .google .firebase .firestore .bundle .NamedQuery ;
22
25
import com .google .firebase .firestore .core .Query ;
23
26
import com .google .firebase .firestore .core .Target ;
24
27
import com .google .firebase .firestore .model .ResourcePath ;
You can’t perform that action at this time.
0 commit comments