what-the-bank/sources/com/google/firebase/firestore/local/IndexManager.java

41 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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);
}