Getting the Maximum Size of an IMDC Stored In-Memory - Aster Execution Engine

Teradata Aster® Developer Guide

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
xnl1494366523182.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
ffu1489104705746
lifecycle
previous
Product Category
Software
  • To get the maximum size of an IMDC that can be stored in-memory (without overflowing to the disk), use the imdcMaxInMem() method:
    {
      InMemoryDataCollection IMDC_name =
        InMemoryDataCollectionRepository.getInMemoryDataCollection(imdcName_);
    
      if (IMDC_name != null)
      {
    
        for (InMemoryDataCollectionColumnInfo colInfo : imdcColInfoList) {
          outputEmitter.addLong(IMDC_name.imdcMaxInMem());
      
        outputEmitter.emitRow();
      }
    }