org.apache.pig.impl.util
Interface Spillable

All Known Implementing Classes:
DataBag, DefaultDataBag, DistinctDataBag, SortedDataBag

public interface Spillable


Method Summary
 long getMemorySize()
          Requests that an object return an estimate of its in memory size.
 long spill()
          Instructs an object to spill whatever it can to disk and release references to any data structures it spills.
 

Method Detail

spill

long spill()
Instructs an object to spill whatever it can to disk and release references to any data structures it spills.


getMemorySize

long getMemorySize()
Requests that an object return an estimate of its in memory size.



Copyright © ${year} The Apache Software Foundation