if (index.isSpatial()) {
firstSpatialColumn = index.firstSpatialArgument();
}
key.clear();
PersistitKeyValueTarget keyTarget = new PersistitKeyValueTarget(index.getIndexName());
keyTarget.attach(key);
for (int i = 0; i < columnCount; i++) {
Object value = values.get(i);
if (value instanceof byte[]) {
appendRawSegment((byte[])value);
continue;