public abstract class TitanIndexTest extends TitanGraphBaseTest
TitanGraphBaseTest.TestConfigOption| Modifier and Type | Field and Description |
|---|---|
static String |
EINDEX |
static String |
INDEX |
IndexFeatures |
indexFeatures |
org.junit.rules.TestName |
methodName |
static String |
PINDEX |
boolean |
supportsGeoPoint |
boolean |
supportsNumeric |
boolean |
supportsText |
static String |
VINDEX |
adjustedConfig, config, DEFAULT_THREAD_COUNT, features, graph, logManagers, mgmt, tx| Modifier | Constructor and Description |
|---|---|
protected |
TitanIndexTest(boolean supportsGeoPoint,
boolean supportsNumeric,
boolean supportsText) |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertGraphOfTheGods(TitanGraph gotg) |
void |
open(WriteConfiguration config) |
abstract boolean |
supportsLuceneStyleQueries() |
void |
testCompositeAndMixedIndexing() |
void |
testConditionalIndexing()
Tests conditional indexing and the different management features
|
void |
testContainsWithMultipleValues() |
void |
testDeleteVertexThenAddProperty()
Create a vertex and commit.
|
void |
testDeleteVertexThenDeleteProperty()
Create a vertex with an indexed property and commit.
|
void |
testDeleteVertexThenModifyProperty()
Create a vertex with an indexed property and commit.
|
void |
testDualMapping() |
void |
testEdgeTTLWithMixedIndices() |
void |
testGraphOfTheGods()
Tests the
GraphOfTheGodsFactory.load(com.thinkaurelius.titan.core.TitanGraph)
method used as the standard example that ships with Titan. |
void |
testIndexing() |
void |
testIndexParameters()
Tests index parameters (mapping and names) and various string predicates
|
void |
testIndexQueryWithScore() |
void |
testIndexReplay() |
void |
testIndexUpdatesWithoutReindex() |
void |
testRawQueries()
Tests index parameters (mapping and names) with raw indexQuery
|
void |
testSimpleUpdate() |
void |
testVertexTTLWithMixedIndices() |
clopen, close, closeLogManager, createExternalEdgeIndex, createExternalVertexIndex, finishSchema, getConfig, getConfiguration, getExternalIndex, getThreadCount, getVertex, getVertex, getVertex, getVertex, makeKey, makeKeyedEdgeLabel, makeLabel, makeVertexIndexedKey, makeVertexIndexedUniqueKey, newTx, openTxLog, openUserLog, option, round, setUp, tearDown, wrapAroundpublic static final String INDEX
public static final String VINDEX
public static final String EINDEX
public static final String PINDEX
public final boolean supportsGeoPoint
public final boolean supportsNumeric
public final boolean supportsText
public IndexFeatures indexFeatures
public org.junit.rules.TestName methodName
protected TitanIndexTest(boolean supportsGeoPoint,
boolean supportsNumeric,
boolean supportsText)
public abstract boolean supportsLuceneStyleQueries()
public void open(WriteConfiguration config)
open in class TitanGraphBaseTestpublic void testGraphOfTheGods()
GraphOfTheGodsFactory.load(com.thinkaurelius.titan.core.TitanGraph)
method used as the standard example that ships with Titan.public static void assertGraphOfTheGods(TitanGraph gotg)
public void testSimpleUpdate()
public void testIndexing()
public void testConditionalIndexing()
public void testCompositeAndMixedIndexing()
public void testIndexParameters()
public void testRawQueries()
public void testDualMapping()
public void testIndexUpdatesWithoutReindex()
throws InterruptedException
InterruptedExceptionpublic void testVertexTTLWithMixedIndices()
throws Exception
Exceptionpublic void testEdgeTTLWithMixedIndices()
throws Exception
Exceptionpublic void testDeleteVertexThenDeleteProperty()
throws BackendException
BackendExceptionpublic void testDeleteVertexThenAddProperty()
throws BackendException
BackendExceptionpublic void testDeleteVertexThenModifyProperty()
throws BackendException
BackendExceptionpublic void testIndexQueryWithScore()
throws InterruptedException
InterruptedExceptionCopyright © 2012–2016. All rights reserved.