added getIndexType to plomino_utils