41 lines
1.1 KiB
Java
41 lines
1.1 KiB
Java
package com.google.firebase.firestore.local;
|
|
|
|
import com.google.firebase.database.collection.ImmutableSortedMap;
|
|
import com.google.firebase.firestore.core.Target;
|
|
import com.google.firebase.firestore.model.Document;
|
|
import com.google.firebase.firestore.model.DocumentKey;
|
|
import com.google.firebase.firestore.model.FieldIndex;
|
|
import com.google.firebase.firestore.model.ResourcePath;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface IndexManager {
|
|
|
|
/* loaded from: classes2.dex */
|
|
public enum IndexType {
|
|
NONE,
|
|
PARTIAL,
|
|
FULL
|
|
}
|
|
|
|
void addToCollectionParentIndex(ResourcePath resourcePath);
|
|
|
|
List<ResourcePath> getCollectionParents(String str);
|
|
|
|
List<DocumentKey> getDocumentsMatchingTarget(Target target);
|
|
|
|
IndexType getIndexType(Target target);
|
|
|
|
FieldIndex.IndexOffset getMinOffset(Target target);
|
|
|
|
FieldIndex.IndexOffset getMinOffset(String str);
|
|
|
|
String getNextCollectionGroupToUpdate();
|
|
|
|
void start();
|
|
|
|
void updateCollectionGroup(String str, FieldIndex.IndexOffset indexOffset);
|
|
|
|
void updateIndexEntries(ImmutableSortedMap<DocumentKey, Document> immutableSortedMap);
|
|
}
|