li-boxuan opened a new pull request, #1657: URL: https://github.com/apache/tinkerpop/pull/1657
Currently, Graph::getCardinality only takes a vertex property key as the parameter, which sometimes is limited for the graph provider to make a proper choice about the cardinality of the vertex property. This commit overloads this method which takes both the property key and values as parameters so that the graph provider can hopefully make a better choice. For example, a graph provider can use list/set cardinality when it sees multiple values and uses single cardinality when it only sees one value. This is particularly useful when loading a graph using the IO step without a pre-defined schema. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
