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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableData
CacheableData.CacheStatus -
Field Summary
Fields inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableData
cacheEvictionLocalFilePath, cacheEvictionLocalFilePrefix, CACHING_ASYNC_FILECLEANUP, CACHING_ASYNC_SERIALIZE, CACHING_BUFFER_POLICY, CACHING_COUNTER_GROUP_NAME, CACHING_EVICTION_FILEEXTENSION, CACHING_THRESHOLD -
Constructor Summary
ConstructorsConstructorDescriptionFrameObject(String fname) FrameObject(String fname, MetaData meta) FrameObject(String fname, MetaData meta, Types.ValueType[] schema) Copy constructor that copies meta data but NO data. -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetSchema(int cl, int cu) Obtain schema of value typesCreates a new collection which contains the schema of the current frame object concatenated with the schema of the passed frame object.static Types.ValueType[]parseSchema(String schema) voidvoidvoidsetSchema(Types.ValueType[] schema) Methods inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableData
acquireModify, 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, getStreamable, getStreamHandle, getUniqueID, hasBroadcastHandle, hasRDDHandle, hasStreamHandle, hasValidLineage, initCaching, initCaching, isBelowCachingThreshold, isCached, isCachingActive, isCleanupEnabled, isCompressed, isDeviceToHostCopy, isDirty, isFederated, isFederated, isFederatedExcept, isHDFSFileExists, isPendingRDDOps, isPersistentRead, moveData, release, removeGPUObject, removeMetaData, setBroadcastHandle, setCacheLineage, setCompressedSize, setDirty, setEmptyStatus, setFedMapping, setFileFormatProperties, setFileName, setGPUObject, setHDFSFileExists, setMetaData, setPersistentRead, setRDDHandle, setStreamHandle, toString, toStringMethods inherited from class org.apache.sysds.runtime.instructions.cp.Data
getDataType, getValueType, updateDataCharacteristics
-
Constructor Details
-
FrameObject
-
FrameObject
-
FrameObject
-
FrameObject
Copy constructor that copies meta data but NO data.- Parameters:
fo- frame object
-
-
Method Details
-
getSchema
-
getSchema
Obtain schema of value types- Parameters:
cl- column lower bound, inclusivecu- column upper bound, inclusive- Returns:
- schema of value types
-
mergeSchemas
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
-
setSchema
-
parseSchema
-
setSchema
-
refreshMetaData
public void refreshMetaData()- Specified by:
refreshMetaDatain classCacheableData<FrameBlock>
-
getNumRows
public long getNumRows()- Overrides:
getNumRowsin classCacheableData<FrameBlock>
-
getNumColumns
public long getNumColumns()- Overrides:
getNumColumnsin classCacheableData<FrameBlock>
-