Skip to content

Commit

Permalink
Corrected Filter implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Nov 17, 2024
1 parent cfb885b commit 2262309
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 120 deletions.
25 changes: 7 additions & 18 deletions firebase-firestore/api/android/firebase-firestore.api
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ public final class dev/gitlive/firebase/firestore/FilterBuilder : dev/gitlive/fi
public final fun equalTo (Ldev/gitlive/firebase/firestore/FieldPath;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
public final fun equalTo (Ljava/lang/String;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
public fun getEncodeDefaults ()Z
public final fun getEncodeSettingsBuilder ()Lkotlin/jvm/functions/Function1;
public fun getSerializersModule ()Lkotlinx/serialization/modules/SerializersModule;
public final fun greaterThan (Ldev/gitlive/firebase/firestore/FieldPath;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
public final fun greaterThan (Ljava/lang/String;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
Expand Down Expand Up @@ -611,8 +610,7 @@ public abstract interface class dev/gitlive/firebase/firestore/WhereConstraint {
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$ArrayContains : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -621,16 +619,14 @@ public final class dev/gitlive/firebase/firestore/WhereConstraint$ArrayContains

public final class dev/gitlive/firebase/firestore/WhereConstraint$ArrayContainsAny : dev/gitlive/firebase/firestore/WhereConstraint$ForArray {
public fun <init> (Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public fun equals (Ljava/lang/Object;)Z
public fun getValues ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$EqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForNullableObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -650,17 +646,15 @@ public abstract interface class dev/gitlive/firebase/firestore/WhereConstraint$F
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$GreaterThan : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$GreaterThanOrEqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -669,34 +663,30 @@ public final class dev/gitlive/firebase/firestore/WhereConstraint$GreaterThanOrE

public final class dev/gitlive/firebase/firestore/WhereConstraint$InArray : dev/gitlive/firebase/firestore/WhereConstraint$ForArray {
public fun <init> (Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public fun equals (Ljava/lang/Object;)Z
public fun getValues ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$LessThan : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$LessThanOrEqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$NotEqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForNullableObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -705,7 +695,6 @@ public final class dev/gitlive/firebase/firestore/WhereConstraint$NotEqualTo : d

public final class dev/gitlive/firebase/firestore/WhereConstraint$NotInArray : dev/gitlive/firebase/firestore/WhereConstraint$ForArray {
public fun <init> (Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public fun equals (Ljava/lang/Object;)Z
public fun getValues ()Ljava/util/List;
public fun hashCode ()I
Expand Down
25 changes: 7 additions & 18 deletions firebase-firestore/api/jvm/firebase-firestore.api
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ public final class dev/gitlive/firebase/firestore/FilterBuilder : dev/gitlive/fi
public final fun equalTo (Ldev/gitlive/firebase/firestore/FieldPath;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
public final fun equalTo (Ljava/lang/String;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
public fun getEncodeDefaults ()Z
public final fun getEncodeSettingsBuilder ()Lkotlin/jvm/functions/Function1;
public fun getSerializersModule ()Lkotlinx/serialization/modules/SerializersModule;
public final fun greaterThan (Ldev/gitlive/firebase/firestore/FieldPath;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
public final fun greaterThan (Ljava/lang/String;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;)Ldev/gitlive/firebase/firestore/Filter$WithConstraint;
Expand Down Expand Up @@ -611,8 +610,7 @@ public abstract interface class dev/gitlive/firebase/firestore/WhereConstraint {
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$ArrayContains : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -621,16 +619,14 @@ public final class dev/gitlive/firebase/firestore/WhereConstraint$ArrayContains

public final class dev/gitlive/firebase/firestore/WhereConstraint$ArrayContainsAny : dev/gitlive/firebase/firestore/WhereConstraint$ForArray {
public fun <init> (Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public fun equals (Ljava/lang/Object;)Z
public fun getValues ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$EqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForNullableObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -650,17 +646,15 @@ public abstract interface class dev/gitlive/firebase/firestore/WhereConstraint$F
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$GreaterThan : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$GreaterThanOrEqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -669,34 +663,30 @@ public final class dev/gitlive/firebase/firestore/WhereConstraint$GreaterThanOrE

public final class dev/gitlive/firebase/firestore/WhereConstraint$InArray : dev/gitlive/firebase/firestore/WhereConstraint$ForArray {
public fun <init> (Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public fun equals (Ljava/lang/Object;)Z
public fun getValues ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$LessThan : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$LessThanOrEqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/gitlive/firebase/firestore/WhereConstraint$NotEqualTo : dev/gitlive/firebase/firestore/WhereConstraint$ForNullableObject {
public fun <init> (Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public fun <init> (Lkotlin/jvm/functions/Function0;)V
public fun equals (Ljava/lang/Object;)Z
public fun getValue ()Ljava/lang/Object;
public fun hashCode ()I
Expand All @@ -705,7 +695,6 @@ public final class dev/gitlive/firebase/firestore/WhereConstraint$NotEqualTo : d

public final class dev/gitlive/firebase/firestore/WhereConstraint$NotInArray : dev/gitlive/firebase/firestore/WhereConstraint$ForArray {
public fun <init> (Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public fun equals (Ljava/lang/Object;)Z
public fun getValues ()Ljava/util/List;
public fun hashCode ()I
Expand Down
Loading

0 comments on commit 2262309

Please sign in to comment.