public class ConditionBuilderTest extends Object
ConditionBuilder
class.Constructor and Description |
---|
ConditionBuilderTest() |
public void setUp()
public void tearDown()
public void testAfterDate()
ConditionBuilder.after(Date)
.public void testAllArrayBuilder()
ConditionBuilder.all(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testAllBooleanArray()
public void testAllByteArrayArray()
public void testAllConstantArray()
public void testAllDateArray()
public void testAllDocumentAssignableArray()
public void testAllDoubleArray()
public void testAllElementArray()
ConditionBuilder.all(com.allanbank.mongodb.bson.Element[])
.public void testAllIntArray()
public void testAllLongArray()
public void testAllObjectIdArray()
public void testAllPatternArray()
public void testAllStringArray()
public void testAllUuidArray()
public void testAndDifferentField()
ConditionBuilder.and(String)
.public void testAndSameField()
ConditionBuilder.and(String)
.public void testBeforeDate()
ConditionBuilder.before(Date)
.public void testComment()
ConditionBuilder.comment(String)
.public void testElementMatchesDocument()
ConditionBuilder.elementMatches(DocumentAssignable)
.public void testElementMatchesQueryBuilder()
public void testEqualsBoolean()
ConditionBuilder.equals(boolean)
.public void testEqualsByteArray()
ConditionBuilder.equals(byte[])
.public void testEqualsByteByteArray()
ConditionBuilder.equals(byte, byte[])
.public void testEqualsDate()
ConditionBuilder.equals(Date)
.public void testEqualsDocument()
ConditionBuilder.equals(DocumentAssignable)
.public void testEqualsDouble()
ConditionBuilder.equals(double)
.public void testEqualsInt()
ConditionBuilder.equals(int)
.public void testEqualsJavaScriptString()
ConditionBuilder.equalsJavaScript(String)
.public void testEqualsJavaScriptStringDocument()
ConditionBuilder.equalsJavaScript(String, DocumentAssignable)
.public void testEqualsLegacyUUID()
ConditionBuilder.equalsLegacy(UUID)
.public void testEqualsLong()
ConditionBuilder.equals(long)
.public void testEqualsMaxKey()
ConditionBuilder.equalsMaxKey()
.public void testEqualsMinKey()
ConditionBuilder.equalsMinKey()
.public void testEqualsMongoTimestamp()
ConditionBuilder.equalsMongoTimestamp(long)
.public void testEqualsNull()
ConditionBuilder.equalsNull()
.public void testEqualsObjectId()
ConditionBuilder.equals(ObjectId)
.public void testEqualsPattern()
ConditionBuilder.equals(java.util.regex.Pattern)
.public void testEqualsString()
ConditionBuilder.equals(String)
.public void testEqualsSymbol()
ConditionBuilder.equalsSymbol(String)
.public void testEqualsTimestamp()
ConditionBuilder.equalsTimestamp(long)
.public void testEqualsUUID()
ConditionBuilder.equals(UUID)
.public void testExists()
ConditionBuilder.exists()
.public void testExistsBoolean()
ConditionBuilder.exists(boolean)
.public void testGeoWithin()
ConditionBuilder.geoWithin(DocumentAssignable)
.@Deprecated public void testGeoWithinUnique()
ConditionBuilder.geoWithin(DocumentAssignable)
.public void testGetFieldName()
ConditionBuilder.getFieldName()
.public void testGreaterThanByteArray()
ConditionBuilder.greaterThan(byte[])
.public void testGreaterThanByteByteArray()
ConditionBuilder.greaterThan(byte, byte[])
.public void testGreaterThanDate()
ConditionBuilder.greaterThan(Date)
.public void testGreaterThanDouble()
ConditionBuilder.greaterThan(double)
.public void testGreaterThanInt()
ConditionBuilder.greaterThan(int)
.public void testGreaterThanLong()
ConditionBuilder.greaterThan(long)
.public void testGreaterThanMongoTimestamp()
ConditionBuilder.greaterThanMongoTimestamp(long)
.public void testGreaterThanObjectId()
ConditionBuilder.greaterThan(ObjectId)
.public void testGreaterThanOrEqualsByteArray()
ConditionBuilder.greaterThanOrEqualTo(byte[])
.public void testGreaterThanOrEqualsByteByteArray()
ConditionBuilder.greaterThanOrEqualTo(byte, byte[])
.public void testGreaterThanOrEqualsDouble()
ConditionBuilder.greaterThanOrEqualTo(double)
.public void testGreaterThanOrEqualsInt()
ConditionBuilder.greaterThanOrEqualTo(int)
.public void testGreaterThanOrEqualsLong()
ConditionBuilder.greaterThanOrEqualTo(long)
.public void testGreaterThanOrEqualsMongoTimestamp()
ConditionBuilder.greaterThanOrEqualToMongoTimestamp(long)
.public void testGreaterThanOrEqualsObjectId()
ConditionBuilder.greaterThanOrEqualTo(ObjectId)
.public void testGreaterThanOrEqualsString()
ConditionBuilder.greaterThanOrEqualTo(String)
.public void testGreaterThanOrEqualsSymbol()
ConditionBuilder.greaterThanOrEqualToSymbol(String)
.public void testGreaterThanOrEqualsTimestamp()
ConditionBuilder.greaterThanOrEqualToTimestamp(long)
.public void testGreaterThanOrEqualToDate()
ConditionBuilder.greaterThanOrEqualTo(Date)
.public void testGreaterThanString()
ConditionBuilder.greaterThan(String)
.public void testGreaterThanSymbol()
ConditionBuilder.greaterThanSymbol(String)
.public void testGreaterThanTimestamp()
ConditionBuilder.greaterThanTimestamp(long)
.public void testInArrayBuilder()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInBooleanArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInByteArrayArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInConstantArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInDateArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInDocumentAssignableArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInDoubleArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInElementArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.Element[])
.public void testInIntArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInLongArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInObjectIdArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInPatternArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testInstanceOf()
ConditionBuilder.instanceOf(com.allanbank.mongodb.bson.ElementType)
.public void testInStringArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testIntersects()
ConditionBuilder.intersects(DocumentAssignable)
.public void testInUuidArray()
ConditionBuilder.in(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testLessThanByteArray()
ConditionBuilder.lessThan(byte[])
.public void testLessThanByteByteArray()
ConditionBuilder.lessThan(byte, byte[])
.public void testLessThanDate()
ConditionBuilder.lessThan(Date)
.public void testLessThanDouble()
ConditionBuilder.lessThan(double)
.public void testLessThanInt()
ConditionBuilder.lessThan(int)
.public void testLessThanLong()
ConditionBuilder.lessThan(long)
.public void testLessThanMongoTimestamp()
ConditionBuilder.lessThanMongoTimestamp(long)
.public void testLessThanObjectId()
ConditionBuilder.lessThan(ObjectId)
.public void testLessThanOrEqualsByteArray()
ConditionBuilder.lessThanOrEqualTo(byte[])
.public void testLessThanOrEqualsByteByteArray()
ConditionBuilder.lessThanOrEqualTo(byte, byte[])
.public void testLessThanOrEqualsDouble()
ConditionBuilder.lessThanOrEqualTo(double)
.public void testLessThanOrEqualsInt()
ConditionBuilder.lessThanOrEqualTo(int)
.public void testLessThanOrEqualsLong()
ConditionBuilder.lessThanOrEqualTo(long)
.public void testLessThanOrEqualsMongoTimestamp()
ConditionBuilder.lessThanOrEqualToMongoTimestamp(long)
.public void testLessThanOrEqualsObjectId()
ConditionBuilder.lessThanOrEqualTo(ObjectId)
.public void testLessThanOrEqualsString()
ConditionBuilder.lessThanOrEqualTo(String)
.public void testLessThanOrEqualsSymbol()
ConditionBuilder.lessThanOrEqualToSymbol(String)
.public void testLessThanOrEqualsTimestamp()
ConditionBuilder.lessThanOrEqualToTimestamp(long)
.public void testLessThanOrEqualToDate()
ConditionBuilder.lessThanOrEqualTo(Date)
.public void testLessThanString()
ConditionBuilder.lessThan(String)
.public void testLessThanSymbol()
ConditionBuilder.lessThanSymbol(String)
.public void testLessThanTimestamp()
ConditionBuilder.lessThanTimestamp(long)
.public void testMatches()
ConditionBuilder.matches(java.util.regex.Pattern)
.public void testModIntInt()
ConditionBuilder.mod(int, int)
.public void testModLongLong()
ConditionBuilder.mod(long, long)
.public void testNearDocumentAssignable()
ConditionBuilder.near(DocumentAssignable)
.public void testNearDocumentAssignableDouble()
ConditionBuilder.near(DocumentAssignable,double)
.public void testNearDoubleDouble()
ConditionBuilder.near(double, double)
.public void testNearDoubleDoubleDouble()
ConditionBuilder.near(double, double, double)
.public void testNearIntInt()
ConditionBuilder.near(int, int)
.public void testNearIntIntInt()
ConditionBuilder.near(int, int, int)
.public void testNearLongLong()
ConditionBuilder.near(long, long)
.public void testNearLongLongLong()
ConditionBuilder.near(long, long, long)
.public void testNearSphereDocumentAssignable()
ConditionBuilder.nearSphere(DocumentAssignable)
.public void testNearSphereDocumentAssignableDouble()
ConditionBuilder.nearSphere(DocumentAssignable,double)
.public void testNearSphereDoubleDouble()
ConditionBuilder.nearSphere(double, double)
.public void testNearSphereDoubleDoubleDouble()
ConditionBuilder.nearSphere(double, double, double)
.public void testNearSphereIntInt()
ConditionBuilder.nearSphere(int, int)
.public void testNearSphereIntIntInt()
ConditionBuilder.nearSphere(int, int, int)
.public void testNearSphereLongLong()
ConditionBuilder.nearSphere(long, long)
.public void testNearSphereLongLongLong()
ConditionBuilder.nearSphere(long, long, long)
.public void testNotEqualToBoolean()
ConditionBuilder.notEqualTo(boolean)
.public void testNotEqualToByteArray()
ConditionBuilder.notEqualTo(byte[])
.public void testNotEqualToByteByteArray()
ConditionBuilder.notEqualTo(byte, byte[])
.public void testNotEqualToDate()
ConditionBuilder.notEqualTo(Date)
.public void testNotEqualToDocument()
ConditionBuilder.notEqualTo(DocumentAssignable)
.public void testNotEqualToDouble()
ConditionBuilder.notEqualTo(double)
.public void testNotEqualToInt()
ConditionBuilder.notEqualTo(int)
.public void testNotEqualToJavaScriptString()
ConditionBuilder.notEqualToJavaScript(String)
.public void testNotEqualToJavaScriptStringDocument()
ConditionBuilder.notEqualToJavaScript(String, DocumentAssignable)
.public void testNotEqualToLegacyUUID()
ConditionBuilder.notEqualTo(UUID)
.public void testNotEqualToLong()
ConditionBuilder.notEqualTo(long)
.public void testNotEqualToMaxKey()
ConditionBuilder.notEqualToMaxKey()
.public void testNotEqualToMinKey()
ConditionBuilder.notEqualToMinKey()
.public void testNotEqualToMongoTimestamp()
ConditionBuilder.notEqualToMongoTimestamp(long)
.public void testNotEqualToNull()
ConditionBuilder.notEqualToNull()
.public void testNotEqualToObjectId()
ConditionBuilder.notEqualTo(ObjectId)
.public void testNotEqualToPattern()
ConditionBuilder.notEqualTo(java.util.regex.Pattern)
.public void testNotEqualToString()
ConditionBuilder.notEqualTo(String)
.public void testNotEqualToSymbol()
ConditionBuilder.notEqualToSymbol(String)
.public void testNotEqualToTimestamp()
ConditionBuilder.notEqualToTimestamp(long)
.public void testNotEqualToUUID()
ConditionBuilder.notEqualTo(UUID)
.public void testNotInArrayBuilder()
ConditionBuilder.notIn(com.allanbank.mongodb.bson.builder.ArrayBuilder)
.public void testNotInBooleanArray()
public void testNotInByteArrayArray()
public void testNotInConstantArray()
ConditionBuilder.notIn(com.allanbank.mongodb.bson.Element[])
.public void testNotInDateArray()
public void testNotInDocumentAssignableArray()
public void testNotInDoubleArray()
public void testNotInElementArray()
ConditionBuilder.notIn(com.allanbank.mongodb.bson.Element[])
.public void testNotInIntArray()
public void testNotInLongArray()
public void testNotInObjectIdArray()
public void testNotInPatternArray()
public void testNotInStringArray()
public void testNotInUuidArray()
public void testReset()
ConditionBuilder.reset()
.public void testSize()
ConditionBuilder.size(int)
.public void testText()
ConditionBuilder.text(String)
.public void testTextWithLang()
ConditionBuilder.text(String,String)
.public void testWhere()
ConditionBuilder.where(String)
.@Deprecated public void testWithinBooleanPoint2DPoint2DPoint2DPoint2DArray()
ConditionBuilder.within(boolean, Point2D, Point2D, Point2D, Point2D[])
.public void testWithinDocumentAssignable()
ConditionBuilder.within(DocumentAssignable)
.@Deprecated public void testWithinDocumentAssignableBoolean()
ConditionBuilder.within(DocumentAssignable, boolean)
.public void testWithinDoubleDoubleDouble()
ConditionBuilder.within(double, double, double)
.@Deprecated public void testWithinDoubleDoubleDoubleBoolean()
ConditionBuilder.within(double, double, double, boolean)
.public void testWithinDoubleDoubleDoubleDouble()
ConditionBuilder.within(double, double, double, double)
.@Deprecated public void testWithinDoubleDoubleDoubleDoubleBoolean()
ConditionBuilder.within(double, double, double, double, boolean)
.public void testWithinIntIntInt()
ConditionBuilder.within(int, int, int)
.@Deprecated public void testWithinIntIntIntBoolean()
ConditionBuilder.within(int, int, int, boolean)
.public void testWithinIntIntIntInt()
ConditionBuilder.within(int, int, int, int)
.@Deprecated public void testWithinIntIntIntIntBoolean()
ConditionBuilder.within(int, int, int, int, boolean)
.public void testWithinLongLongLong()
ConditionBuilder.within(long, long, long)
.@Deprecated public void testWithinLongLongLongBoolean()
ConditionBuilder.within(long, long, long, boolean)
.@Deprecated public void testWithinLongLongLongLong()
ConditionBuilder.within(long, long, long, long)
.@Deprecated public void testWithinLongLongLongLongBoolean()
ConditionBuilder.within(long, long, long, long, boolean)
.public void testWithinOnSphereDoubleDoubleDouble()
ConditionBuilder.withinOnSphere(double, double, double)
.@Deprecated public void testWithinOnSphereDoubleDoubleDoubleBoolean()
ConditionBuilder.withinOnSphere(double, double, double, boolean)
.@Deprecated public void testWithinOnSphereIntIntInt()
ConditionBuilder.withinOnSphere(int, int, int)
.@Deprecated public void testWithinOnSphereIntIntIntBoolean()
ConditionBuilder.withinOnSphere(int, int, int, boolean)
.public void testWithinOnSphereLongLongLong()
ConditionBuilder.withinOnSphere(long, long, long)
.@Deprecated public void testWithinOnSphereLongLongLongBoolean()
ConditionBuilder.withinOnSphere(long, long, long, boolean)
.public void testWithinPoint2DPoint2DPoint2DPoint2DArray()
ConditionBuilder.within(Point2D, Point2D, Point2D, Point2D[])
.public void testWithinPoint2DPoint2DPoint2DPoint2DArrayNoExtra()
ConditionBuilder.within(Point2D, Point2D, Point2D, Point2D[])
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.