add to string to spatial wrapper

This commit is contained in:
fjy 2013-07-22 10:47:11 -07:00
parent 1b56fa5416
commit 2d0fae2fde
1 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,7 @@ import com.google.common.collect.Sets;
import com.google.common.primitives.Floats;
import com.metamx.common.ISE;
import com.metamx.druid.input.InputRow;
import org.joda.time.DateTime;
import javax.annotation.Nullable;
import java.util.Arrays;
@ -138,6 +139,15 @@ public class SpatialDimensionRowFormatter
{
return row.getFloatMetric(metric);
}
@Override
public String toString()
{
return "InputRow{" +
"timestamp=" + row.getTimestampFromEpoch() +
", dimensions=" + row.getDimensions() +
'}';
}
};
if (!spatialPartialDimNames.isEmpty()) {