Class FrameObject
- java.lang.Object
- 
- org.apache.sysds.runtime.instructions.cp.Data
- 
- org.apache.sysds.runtime.controlprogram.caching.CacheableData<FrameBlock>
- 
- org.apache.sysds.runtime.controlprogram.caching.FrameObject
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class FrameObject extends CacheableData<FrameBlock> - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableDataCacheableData.CacheStatus
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableDatacacheEvictionLocalFilePath, cacheEvictionLocalFilePrefix, CACHING_ASYNC_FILECLEANUP, CACHING_ASYNC_SERIALIZE, CACHING_BUFFER_PAGECACHE, CACHING_BUFFER_POLICY, CACHING_COUNTER_GROUP_NAME, CACHING_EVICTION_FILEEXTENSION, CACHING_THRESHOLD, CACHING_WRITE_CACHE_ON_READ
 
- 
 - 
Constructor SummaryConstructors Constructor Description FrameObject(String fname)FrameObject(String fname, MetaData meta)FrameObject(String fname, MetaData meta, Types.ValueType[] schema)FrameObject(FrameObject fo)Copy constructor that copies meta data but NO data.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetNumColumns()longgetNumRows()Types.ValueType[]getSchema()Types.ValueType[]getSchema(int cl, int cu)Obtain schema of value typesTypes.ValueType[]mergeSchemas(FrameObject fo)Creates a new collection which contains the schema of the current frame object concatenated with the schema of the passed frame object.voidrefreshMetaData()voidsetSchema(String schema)voidsetSchema(Types.ValueType[] schema)- 
Methods inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableDataacquireModify, acquireRead, acquireReadAndRelease, addBroadcastSize, cleanupCacheDir, cleanupCacheDir, clearData, clearData, disableCaching, enableCaching, enableCleanup, exportData, exportData, exportData, exportData, exportData, freeEvictedBlob, getBlocksize, getBroadcastHandle, getBroadcastSize, getCacheLineage, getCompressedSize, getDataCharacteristics, getDataSize, getDebugName, getDim, getFedMapping, getFileFormatProperties, getFileName, getGPUObject, getMetaData, getRDDHandle, getStatus, getUniqueID, hasValidLineage, initCaching, initCaching, isBelowCachingThreshold, isCached, isCachingActive, isCleanupEnabled, isCompressed, isDirty, isFederated, isFederated, isFederatedExcept, isHDFSFileExists, isPendingRDDOps, moveData, release, removeGPUObject, removeMetaData, setBroadcastHandle, setCacheLineage, setCompressedSize, setDirty, setEmptyStatus, setFedMapping, setFileFormatProperties, setFileName, setGPUObject, setHDFSFileExists, setMetaData, setRDDHandle, toString
 - 
Methods inherited from class org.apache.sysds.runtime.instructions.cp.DatagetDataType, getPrivacyConstraint, getValueType, setPrivacyConstraints, updateDataCharacteristics
 
- 
 
- 
- 
- 
Constructor Detail- 
FrameObjectpublic FrameObject(String fname) 
 - 
FrameObjectpublic FrameObject(String fname, MetaData meta, Types.ValueType[] schema) 
 - 
FrameObjectpublic FrameObject(FrameObject fo) Copy constructor that copies meta data but NO data.- Parameters:
- fo- frame object
 
 
- 
 - 
Method Detail- 
getSchemapublic Types.ValueType[] getSchema() 
 - 
getSchemapublic Types.ValueType[] getSchema(int cl, int cu) Obtain schema of value types- Parameters:
- cl- column lower bound, inclusive
- cu- column upper bound, inclusive
- Returns:
- schema of value types
 
 - 
mergeSchemaspublic Types.ValueType[] mergeSchemas(FrameObject fo) Creates a new collection which contains the schema of the current frame object concatenated with the schema of the passed frame object.- Parameters:
- fo- frame object
- Returns:
- schema of value types
 
 - 
setSchemapublic void setSchema(String schema) 
 - 
setSchemapublic void setSchema(Types.ValueType[] schema) 
 - 
refreshMetaDatapublic void refreshMetaData() - Specified by:
- refreshMetaDatain class- CacheableData<FrameBlock>
 
 - 
getNumRowspublic long getNumRows() - Overrides:
- getNumRowsin class- CacheableData<FrameBlock>
 
 - 
getNumColumnspublic long getNumColumns() - Overrides:
- getNumColumnsin class- CacheableData<FrameBlock>
 
 
- 
 
-