TitanTransaction tx = g.newTransaction();
for (int i = 0; i < vertexPropKeys; i++) {
tx.makeKey(getVertexPropertyName(i)).dataType(Integer.class).indexed(Vertex.class).single().make();
}
for (int i = 0; i < edgePropKeys; i++) {
tx.makeKey(getEdgePropertyName(i)).dataType(Integer.class).indexed(Edge.class).single().make();
}
for (int i = 0; i < edgeLabels; i++) {
String labelName = getEdgeLabelName(i);
String pkName = getSortKeyForLabel(labelName);
TitanKey pk = tx.getPropertyKey(pkName);