public int getCapacity() { return baos.getCapacity(); }
/** * {@inheritDoc} * @see parquet.column.values.ValuesWriter#getAllocatedSize() */ @Override public long getAllocatedSize() { return out.getCapacity(); }
public long getAllocatedSize() { return baos.getCapacity(); } }
public int getCapacity() { return baos.getCapacity(); } }
/** * * {@inheritDoc} * @see parquet.column.primitive.PrimitiveColumnWriter#getAllocatedSize() */ @Override public long getAllocatedSize() { return out.getCapacity(); }
@Override public long getAllocatedSize() { return arrayOut.getCapacity(); }
@Override public long getAllocatedSize() { return baos.getCapacity(); }
@Override public long getAllocatedSize() { return arrayOut.getCapacity(); }
@Override public long allocatedSize() { return buf.getCapacity(); }
@Override public long getAllocatedSize() { return out.getCapacity(); }
@Override public long getAllocatedSize() { return arrayOut.getCapacity(); }
/** * @param prefix a prefix to be used for every new line in the string * @return a text representation of the memory usage of this structure */ public String memUsageString(String prefix) { return format("%s %s %d slabs, %,d bytes", prefix, getClass().getSimpleName(), slabs.size(), getCapacity()); }
/** * @param prefix a prefix to be used for every new line in the string * @return a text representation of the memory usage of this structure */ public String memUsageString(String prefix) { return format("%s %s %d slabs, %,d bytes", prefix, getClass().getSimpleName(), slabs.size(), getCapacity()); }
@Override public long getAllocatedSize() { return lengthWriter.getAllocatedSize() + arrayOut.getCapacity(); }