TitanKey key = (TitanKey) pc.getKey();
Preconditions.checkArgument(key.hasIndex(Titan.Token.STANDARD_INDEX, resultType.getElementType()),
"Cannot retrieve for given property key - it does not have an index [%s]", key.getName());
Object value = pc.getValue();
StaticBuffer column = getUniqueIndexColumn(key);
KeySliceQuery sq = new KeySliceQuery(getIndexKey(value), column, SliceQuery.pointRange(column), ((InternalType) key).isStatic(Direction.IN)).setLimit(limit);
List<Entry> r;
if (resultType == ElementType.VERTEX) {
r = tx.vertexIndexQuery(sq);
} else {
r = tx.edgeIndexQuery(sq);