public abstract class JanusGraphIndexTest extends JanusGraphBaseTest
JanusGraphBaseTest.TestConfigOption| Modifier and Type | Field and Description |
|---|---|
static String |
EINDEX |
static String |
INDEX |
static String |
INDEX2 |
IndexFeatures |
indexFeatures |
static String |
PINDEX |
boolean |
supportsGeoPoint |
boolean |
supportsNumeric |
boolean |
supportsText |
static String |
VINDEX |
config, DEFAULT_THREAD_COUNT, features, graph, ID_NAME, LABEL_NAME, logManagers, mgmt, readConfig, testInfo, tx| Modifier | Constructor and Description |
|---|---|
protected |
JanusGraphIndexTest(boolean supportsGeoPoint,
boolean supportsNumeric,
boolean supportsText) |
assertMissing, asStream, clearGraph, close, closeLogManager, createExternalEdgeIndex, createExternalVertexIndex, disableIndex, discardIndex, dropIndex, enableIndex, evaluateQuery, evaluateQuery, evaluateQuery, evaluateQuery, evaluateQuery, evaluateQuery, evaluateQuery, executeScanJob, executeScanJob, finishSchema, getBackend, getConfig, getConfiguration, getE, getExternalIndex, getForceIndexGraph, getForceIndexGraph, getId, getOnlyEdge, getOnlyElement, getOnlyElement, getOnlyElement, getOnlyElement, getOnlyVertex, getStoreFeatures, getThreadCount, getV, getVertex, getVertex, getVertex, getVertex, makeKey, makeKeyedEdgeLabel, makeLabel, makeVertexIndexedKey, makeVertexIndexedUniqueKey, markIndexDiscarded, n, newTx, openTxLog, openUserLog, option, round, setUp, tearDown, validateConfigOptions, verifyElementOrder, verifyElementOrder, wrapAroundpublic static final String INDEX
public static final String VINDEX
public static final String EINDEX
public static final String PINDEX
public static final String INDEX2
public final boolean supportsGeoPoint
public final boolean supportsNumeric
public final boolean supportsText
public IndexFeatures indexFeatures
protected JanusGraphIndexTest(boolean supportsGeoPoint,
boolean supportsNumeric,
boolean supportsText)
protected String[] getIndexBackends()
public abstract boolean supportsLuceneStyleQueries()
public abstract boolean supportsWildcardQuery()
public abstract boolean supportsGeoPointExistsQuery()
public abstract boolean supportsGeoShapePrefixTreeMapping()
public void open(WriteConfiguration config)
open in class JanusGraphBaseTestpublic void clopen(Object... settings)
clopen in class JanusGraphBaseTest@Test public void testGraphOfTheGods()
GraphOfTheGodsFactory.load(org.janusgraph.core.JanusGraph)
method used as the standard example that ships with JanusGraph.public static void assertGraphOfTheGods(JanusGraph graphOfTheGods)
@Test public void testUpdateSchemaChangeNameForPropertyKey()
@Test public void testMultipleIndexBackends()
@Test public void testNullQueries()
@Test
public void testClearStorage()
throws Exception
Exception@Test public void testGeoshapeExistsQuery()
@Test public void testExistsQuery()
@Test public void testSimpleUpdate()
@Test public void testListUpdate()
@Test public void testSetUpdate()
@Test public void testListDeleteAddInOneTransaction()
@Test
public void testIndexing()
throws InterruptedException
InterruptedException@Test public void testBooleanIndexing()
@Test public void testDateIndexing()
@Test public void testInstantIndexing()
@Test public void testUUIDIndexing()
@Test public void testConditionalIndexing()
@Test public void testGraphCentricQueryProfiling()
@Test public void testIndexSelectStrategy()
@Test public void testCompositeVsMixedIndexing()
@Test public void testCompositeAndMixedIndexing()
@Test public void testIndexParameters()
@Test public void testMixedIndexQueryFollowedByCount()
@Test public void testRawQueries()
@Test public void testRawQueriesWithParameters()
@Test public void testDualMapping()
@Tag(value="BRITTLE_TESTS")
@Test
public void testIndexReplay()
throws Exception
Exceptionpublic void testIndexUpdatesWithoutReindex()
throws InterruptedException,
ExecutionException
@Test
public void testVertexTTLWithMixedIndices()
throws Exception
Exception@Test
public void testEdgeTTLWithMixedIndices()
throws Exception
Exception@Test
public void testDeleteVertexThenDeleteProperty(org.junit.jupiter.api.TestInfo testInfo)
throws BackendException
BackendException@Test
public void testDeleteVertexThenAddProperty(org.junit.jupiter.api.TestInfo testInfo)
throws BackendException
BackendException@Test
public void testDeleteVertexThenModifyProperty(org.junit.jupiter.api.TestInfo testInfo)
throws BackendException
BackendException@Test
public void testIndexQueryWithScore()
throws InterruptedException
InterruptedException@Test
public void testContainsWithMultipleValues()
throws Exception
Exception@Test public void testWidcardQuery()
@Test public void testListIndexing()
protected abstract boolean supportsCollections()
protected boolean supportsGeoCollections()
@Test public void testSetIndexing()
@Test
public void shouldAwaitMultipleStatuses()
throws InterruptedException,
ExecutionException
@Test
public void testOrForceIndexUniqueMixedIndex()
throws Exception
Exception@Test
public void testOrForceIndexMixedAndCompositeIndex()
throws Exception
Exception@Test public void testOrPartialIndex()
@Test
public void testOrForceIndexPartialIndex()
throws Exception
Exception@Test
public void testIndexDataRetrievalWithLimitLessThenBatch()
throws Exception
Exception@Test
public void testOrForceIndexComposite()
throws Exception
Exception@Test public void testOrderByWithRange()
public void shouldUpdateIndexFieldsAfterIndexModification()
throws InterruptedException,
ExecutionException
@Test public void testMultipleOrClausesMixed()
@Test public void testMultipleOrClausesMultipleMixed()
@ParameterizedTest
@ValueSource(booleans={true,false})
public void testStaleGraphIndexForceRemoveVertex(boolean withLabelConstraint)
throws BackendException
BackendException@Test
public void testStaleMixedIndexForceFullVertexRemove()
throws BackendException
BackendException@Test
public void testStaleMixedIndexForcePartialEdgeRemove()
throws BackendException
BackendException@ParameterizedTest
@ValueSource(booleans={true,false})
public void testStaleGraphIndexForcePartialVertexRemoveByPropertyMap(boolean useMixedIndexMethod)
throws BackendException
BackendException@Test public void testForceRemoveElementFromMixedIndexShouldFailOnCompositeIndex()
@Test
public void testForceRemoveElementFromMixedIndexShouldFailOnWrongPropertiesUsed()
throws BackendException
BackendException@Test
public void testDisableAndDiscardManuallyAndDropEnabledIndex()
throws Exception
Exception@Test
public void testDiscardManuallyAndDropRegisteredIndex()
throws Exception
Exception@Test
public void testDiscardAndDropRegisteredIndex()
throws ExecutionException,
InterruptedException
@Test
public void testReenableDisabledIndex()
throws ExecutionException,
InterruptedException
@Test
public void testCreateMixedIndexThatPreviouslyExisted()
throws ExecutionException,
InterruptedException
protected void registerIndex(String indexName, Class<? extends org.apache.tinkerpop.gremlin.structure.Element> type, String... propertyNames) throws InterruptedException
InterruptedException@Test public void testStaleEdgesAreSkippedFromMixedIndex()
@Test public void testMixedIndexAggregatedCountReturnsCorrectResult()
Copyright © 2012–2024. All rights reserved.