public abstract class GraphTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
Authorizations |
AUTHORIZATIONS_A |
Authorizations |
AUTHORIZATIONS_A_AND_B |
Authorizations |
AUTHORIZATIONS_ALL |
Authorizations |
AUTHORIZATIONS_B |
Authorizations |
AUTHORIZATIONS_B_AND_C |
Authorizations |
AUTHORIZATIONS_BAD |
Authorizations |
AUTHORIZATIONS_C |
Authorizations |
AUTHORIZATIONS_EMPTY |
Authorizations |
AUTHORIZATIONS_MIXED_CASE_a_AND_B |
protected Graph |
graph |
static String |
LABEL_BAD |
static String |
LABEL_LABEL1 |
static String |
LABEL_LABEL2 |
static String |
LABEL_LABEL3 |
static int |
LARGE_PROPERTY_VALUE_SIZE |
static Visibility |
VISIBILITY_A |
static Visibility |
VISIBILITY_A_AND_B |
static String |
VISIBILITY_A_STRING |
static Visibility |
VISIBILITY_B |
static String |
VISIBILITY_B_STRING |
static Visibility |
VISIBILITY_C |
static String |
VISIBILITY_C_STRING |
static Visibility |
VISIBILITY_EMPTY |
static Visibility |
VISIBILITY_MIXED_CASE_a |
static String |
VISIBILITY_MIXED_CASE_STRING |
org.junit.rules.TestRule |
watcher |
| Constructor and Description |
|---|
GraphTestBase() |
public static final String VISIBILITY_A_STRING
public static final String VISIBILITY_B_STRING
public static final String VISIBILITY_C_STRING
public static final String VISIBILITY_MIXED_CASE_STRING
public static final Visibility VISIBILITY_A
public static final Visibility VISIBILITY_A_AND_B
public static final Visibility VISIBILITY_B
public static final Visibility VISIBILITY_C
public static final Visibility VISIBILITY_MIXED_CASE_a
public static final Visibility VISIBILITY_EMPTY
public static final String LABEL_LABEL1
public static final String LABEL_LABEL2
public static final String LABEL_LABEL3
public static final String LABEL_BAD
public final Authorizations AUTHORIZATIONS_A
public final Authorizations AUTHORIZATIONS_B
public final Authorizations AUTHORIZATIONS_C
public final Authorizations AUTHORIZATIONS_MIXED_CASE_a_AND_B
public final Authorizations AUTHORIZATIONS_A_AND_B
public final Authorizations AUTHORIZATIONS_B_AND_C
public final Authorizations AUTHORIZATIONS_EMPTY
public final Authorizations AUTHORIZATIONS_BAD
public final Authorizations AUTHORIZATIONS_ALL
public static final int LARGE_PROPERTY_VALUE_SIZE
protected Graph graph
public org.junit.rules.TestRule watcher
public Graph getGraph()
protected abstract Authorizations createAuthorizations(String... auths)
protected abstract void addAuthorizations(String... authorizations)
public void testAddVertexWithId()
public void testAddVertexWithoutId()
public void testGetSingleVertexWithSameRowPrefix()
public void testStreamingPropertyValueReadAsString()
public void testAddStreamingPropertyValue()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testStreamingPropertyValueLargeReads()
throws IOException
IOExceptionpublic void testStreamingPropertyDecreasingSize()
throws IOException
IOExceptionpublic void testAddVertexPropertyWithMetadata()
public void testAddVertexWithProperties()
public void testNullPropertyValue()
public void testConcurrentModificationOfProperties()
public void testAddVertexWithPropertiesWithTwoDifferentVisibilities()
public void testMultivaluedProperties()
public void testMultivaluedPropertyOrder()
public void testDeleteProperty()
public void testDeletePropertyWithMutation()
public void testDeleteElement()
public void testDeleteVertex()
public void testSoftDeleteVertex()
public void testReAddingSoftDeletedVertex()
public void testGetSoftDeletedElementWithFetchHintsAndTimestamp()
public void testSoftDeleteEdge()
public void testSoftDeleteProperty()
throws InterruptedException
InterruptedExceptionpublic void testSoftDeletePropertyThroughMutation()
public void testSoftDeletePropertyOnEdgeNotIndexed()
public void testSoftDeletePropertyWithVisibility()
public void testSoftDeletePropertyThroughMutationWithVisibility()
public void testSoftDeletePropertyOnAHiddenVertex()
public void testMarkHiddenWithVisibilityChange()
public void testSoftDeleteWithVisibilityChanges()
public void testMarkPropertyVisible()
public void testAddVertexWithVisibility()
public void testAddMultipleVertices()
public void testAddExtendedDataRows()
public void testGetVerticesWithIds()
public void testGetVerticesWithPrefix()
public void testGetVerticesInRange()
public void testGetEdgesInRange()
public void testGetEdgesWithIds()
public void testMarkVertexAndPropertiesHidden()
public void testMarkVertexHidden()
public void testMarkEdgeHidden()
public void testSearchingForHiddenEdges()
public void testMarkPropertyHidden()
public void testSearchingForHiddenVertices()
public void testMarkVertexHiddenAndDeleteEdges()
public void testDeleteVertexWithProperties()
public void testAddEdge()
public void testGetEdge()
public void testGetEdgeVertexPairs()
public void testAddEdgeWithProperties()
public void testAddEdgeWithNullInOutVertices()
public void testAddEdgeWithNullLabels()
public void testChangingPropertyOnEdge()
public void testAlterEdgeLabel()
public void testDeleteEdge()
public void testAddEdgeWithVisibility()
public void testGraphQueryPagingForUniqueIdsSortedOrder()
public void testGraphQueryForIds()
public void testGraphQuery()
public void testGraphQueryWithBoolean()
public void testGraphQueryWithFetchHints()
protected boolean isFetchHintNoneVertexQuerySupported()
public void testSaveElementMutations()
public void testGraphQueryWithQueryString()
public void testGraphQueryWithQueryStringWithAuthorizations()
protected boolean isIterableWithTotalHitsSupported(Iterable<Vertex> vertices)
public void testGraphQueryHas()
public void testGraphQueryMultiPropertyHas()
public void testGraphQueryHasAuthorization()
public void testGraphQueryHasAuthorizationWithHidden()
public void testGraphQueryContainsNotIn()
public void testGraphQueryHasGeoPointAndExact()
public void testGraphQueryHasNotGeoPointAndExact()
public void testGraphQueryHasTwoVisibilities()
public void testGraphQueryIn()
public void testGraphQuerySort()
public void testGraphQuerySortOnPropertyThatHasNoValuesInTheIndex()
public void testGraphQuerySortOnPropertyWhichIsFullTextAndExactMatchIndexed()
public void testGraphQueryVertexHasWithSecurity()
public void testGraphQueryVertexHasWithSecurityGranularity()
public void testGraphQueryVertexHasWithSecurityComplexFormula()
public void testGetVertexWithBadAuthorizations()
public void testGraphQueryVertexNoVisibility()
public void testGraphQueryHidden()
public void testGraphQueryVertexWithVisibilityChange()
public void testGraphQueryVertexHasWithSecurityCantSeeVertex()
public void testGraphQueryVertexHasWithSecurityCantSeeProperty()
public void testGraphQueryEdgeHasWithSecurity()
public void testGraphQueryUpdateVertex()
throws NoSuchFieldException,
IllegalAccessException
public void testQueryWithVertexIds()
public void testDisableEdgeIndexing()
throws NoSuchFieldException,
IllegalAccessException
public void testGraphQueryHasWithSpaces()
public void testGraphQueryWithANDOperatorAndWithExactMatchFields()
public void testGraphQueryHasWithSpacesAndFieldedQueryString()
protected boolean isFieldNamesInQuerySupported()
protected boolean isLuceneQueriesSupported()
protected boolean isLuceneAndQueriesSupported()
public void testStoreGeoPoint()
protected boolean isAdvancedGeoQuerySupported()
public void testStoreGeoCircle()
public void testStoreGeoRect()
public void testStoreGeoLine()
public void testStoreGeoPolygon()
public void testStoreGeoCollection()
public void testGraphQueryRange()
public void testVertexQuery()
public void testFindPaths()
public void testFindPathExcludeLabels()
public void testFindPathsWithSoftDeletedEdges()
public void testFindPathsWithHiddenEdges()
public void testFindPathsMultiplePaths()
public void testFindPathsWithDifferentVisibilityData()
public void testHasPath()
public void testGetVerticesFromVertex()
public void testGetVertexIdsFromVertex()
public void testBlankVisibilityString()
public void testElementMutationDoesntChangeObjectUntilSave()
throws InterruptedException
InterruptedExceptionpublic void testFindRelatedEdges()
public void testFindRelatedEdgeIdsForVertices()
public void testFindRelatedEdgeSummary()
public void testFindRelatedEdgeSummaryAfterSoftDelete()
public void testFindRelatedEdgeSummaryAfterMarkedHidden()
public void testFindRelatedEdgesPerformance()
public void testFilterEdgeIdsByAuthorization()
public void testFilterVertexIdsByAuthorization()
public void testMetadataMutationsOnVertex()
public void testMetadataMutationsOnEdge()
public void testEmptyPropertyMutation()
public void testTextIndexDoesNotContain()
throws Exception
Exceptionpublic void testTextIndexStreamingPropertyValue()
throws Exception
Exceptionpublic void testGetStreamingPropertyValueInputStreams()
throws Exception
Exceptionpublic void testChangeVisibilityVertex()
public void testChangeVertexVisibilityAndAlterPropertyVisibilityAndChangePropertyAtTheSameTime()
public void testChangeVisibilityPropertiesWithPropertyKey()
public void testChangeVisibilityVertexProperties()
public void testAlterVisibilityAndSetMetadataInOneMutation()
public void testAlterPropertyVisibilityOverwritingProperty()
public void testChangeVisibilityEdge()
public void testChangeVisibilityOnBadPropertyName()
public void testChangeVisibilityOnStreamingProperty()
throws IOException
IOExceptionpublic void testChangePropertyMetadata()
public void testMutationChangePropertyVisibilityFollowedByMetadataUsingPropertyObject()
public void testMetadata()
public void testIsVisibilityValid()
public void testModifyVertexWithLowerAuthorizationThenOtherProperties()
public void testPartialUpdateOfVertex()
public void testPartialUpdateOfVertexPropertyKey()
protected boolean isParitalUpdateOfVertexPropertyKeySupported()
public void testAddVertexWithoutIndexing()
public void testAlterVertexWithoutIndexing()
public void testAddEdgeWithoutIndexing()
public void testIteratorWithLessThanPageSizeResultsPageOne()
public void testIteratorWithPageSizeResultsPageOne()
public void testIteratorWithMoreThanPageSizeResultsPageOne()
public void testIteratorWithMoreThanPageSizeResultsPageTwo()
public void testIteratorWithMoreThanPageSizeResultsPageThree()
public void testGraphMetadata()
public void testSimilarityByText()
public void testAllPropertyHistoricalVersions()
public void testPropertyHistoricalVersions()
public void testStreamingPropertyHistoricalVersions()
public void testGetVertexAtASpecificTimeInHistory()
public void testSaveMultipleTimestampedValuesInSameMutationVertex()
public void testSaveMultipleTimestampedValuesInSameMutationEdge()
public void testTimestampsInExistingElementMutation()
public void testGraphQueryWithTermsAggregation()
public void testGraphQueryVertexWithTermsAggregationAlterElementVisibility()
public void testGraphQueryEdgeWithTermsAggregationAlterElementVisibility()
public void testGraphQueryWithNestedTermsAggregation()
public void testVertexQueryWithNestedTermsAggregation()
public void testVertexQueryWithNestedTermsAggregationOnExtendedData()
public void testGraphQueryWithHistogramAggregation()
throws ParseException
ParseExceptionpublic void testGraphQueryWithRangeAggregation()
throws ParseException
ParseExceptionpublic void testGraphQueryWithRangeAggregationAndNestedTerms()
throws ParseException
ParseExceptionpublic void testGraphQueryWithStatisticsAggregation()
throws ParseException
ParseExceptionpublic void testGraphQueryWithPercentilesAggregation()
throws ParseException
ParseExceptionpublic void testGraphQueryWithGeohashAggregation()
public void testGraphQueryWithCalendarFieldAggregation()
protected boolean isPainlessDateMath()
public void testGraphQueryWithCalendarFieldAggregationNested()
public void testLargeFieldValuesThatAreMarkedWithExactMatch()
public void testGetVertexPropertyCountByValue()
public void testGetCounts()
public void testFetchHintsEdgeLabels()
public void testIPAddress()
public void testVertexHashCodeAndEquals()
public void testEdgeHashCodeAndEquals()
public void testCaseSensitivityOfExactMatch()
public void testExtendedData()
public void testExtendedDataInRange()
public void testExtendedDataDifferentValue()
public void testExtendedDataDeleteColumn()
public void testExtendedDataDelete()
public void testExtendedDataQueryVertices()
public void testExtendedDataVertexQuery()
public void testExtendedDataEdgeQuery()
public void testExtendedDataQueryAfterDeleteForVertex()
public void testExtendedDataQueryAfterDeleteForEdge()
public void testExtendedDataQueryEdges()
public void testExtendedDataQueryWithMultiValue()
public void testFetchHintsExceptions()
public void benchmark()
public void benchmarkGetPropertyByName()
public void benchmarkSaveElementMutations()
protected boolean disableEdgeIndexing(Graph graph)
public void historicalPropertyValueAddProp()
public void historicalPropertyValueDeleteProp()
public void historicalPropertyValueModifyPropValue()
public void historicalPropertyValueModifyPropVisibility()
public void manyVisibilities()
Copyright © 2014–2018. All rights reserved.