Package com.antgroup.tugraph
Class CsvDesc
- java.lang.Object
-
- com.antgroup.tugraph.CsvDesc
-
- All Implemented Interfaces:
Comparable<CsvDesc>
public class CsvDesc extends Object implements Comparable<CsvDesc>
-
-
Constructor Summary
Constructors Constructor Description CsvDesc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumn(String column)intcompareTo(CsvDesc csv)byte[]dump(boolean hasPath)intgetHeaderLine()StringgetPath()longgetSize()voidsetDataFormat(String dataFormat)voidsetEdgeDstLabel(String edgeDstLabel)voidsetEdgeSrcLabel(String edgeSrcLabel)voidsetFileType(boolean isVertexFile)voidsetHeaderLine(int nHeaderLine)voidsetLabel(String label)voidsetPath(String path)voidsetSize(long size)
-
-
-
Method Detail
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
setSize
public void setSize(long size)
-
getSize
public long getSize()
-
setDataFormat
public void setDataFormat(String dataFormat)
-
setLabel
public void setLabel(String label)
-
getHeaderLine
public int getHeaderLine()
-
setHeaderLine
public void setHeaderLine(int nHeaderLine)
-
setFileType
public void setFileType(boolean isVertexFile)
-
setEdgeSrcLabel
public void setEdgeSrcLabel(String edgeSrcLabel)
-
setEdgeDstLabel
public void setEdgeDstLabel(String edgeDstLabel)
-
addColumn
public void addColumn(String column)
-
compareTo
public int compareTo(CsvDesc csv)
- Specified by:
compareToin interfaceComparable<CsvDesc>
-
dump
public byte[] dump(boolean hasPath) throws UnsupportedEncodingException- Throws:
UnsupportedEncodingException
-
-