Package com.macrofocus.molap.expression
Class DataFrameSchema
- java.lang.Object
-
- com.macrofocus.molap.expression.DataFrameSchema
-
- All Implemented Interfaces:
prefuse.data.Schema
public class DataFrameSchema extends java.lang.Object implements prefuse.data.Schema
-
-
Constructor Summary
Constructors Constructor Description DataFrameSchema(DataFrame<java.lang.Integer,java.lang.String,?> dataFrame)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
int
getColumnIndex(java.lang.String field)
java.lang.String
getColumnName(int col)
java.lang.Class
getColumnType(int col)
java.lang.Class
getColumnType(java.lang.String field)
static java.lang.Class
getPrimitiveType(java.lang.Class type)
-
-
-
Constructor Detail
-
DataFrameSchema
public DataFrameSchema(DataFrame<java.lang.Integer,java.lang.String,?> dataFrame)
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceprefuse.data.Schema
-
getColumnName
public java.lang.String getColumnName(int col)
- Specified by:
getColumnName
in interfaceprefuse.data.Schema
-
getColumnIndex
public int getColumnIndex(java.lang.String field)
- Specified by:
getColumnIndex
in interfaceprefuse.data.Schema
-
getColumnType
public java.lang.Class getColumnType(int col)
- Specified by:
getColumnType
in interfaceprefuse.data.Schema
-
getColumnType
public java.lang.Class getColumnType(java.lang.String field)
- Specified by:
getColumnType
in interfaceprefuse.data.Schema
-
getPrimitiveType
public static java.lang.Class getPrimitiveType(java.lang.Class type)
-
-