Package org.apache.sysds.runtime.iogen
Class MappingTrie
- java.lang.Object
-
- org.apache.sysds.runtime.iogen.MappingTrie
-
public class MappingTrie extends Object
-
-
Constructor Summary
Constructors Constructor Description MappingTrie()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<ArrayList<String>>
getAllSequentialKeys()
Set<String>
getAllSubStringsOfStringContainIntersect(String str, BitSet bitSet)
MappingTrieNode
getFistMultiChildNode(MappingTrieNode node)
String
getIntersectOfChildren(MappingTrieNode node)
MappingTrieNode
getRoot()
void
insert(String word, int rowIndex)
void
insert(String word, ArrayList<Integer> rowIndexes)
void
insertKeys(ArrayList<String> keys)
boolean
reConstruct()
void
reverseInsert(String word, int rowIndex)
void
setInALine(boolean inALine)
void
setWindowSize(int windowSize)
-
-
-
Method Detail
-
setInALine
public void setInALine(boolean inALine)
-
insert
public void insert(String word, int rowIndex)
-
reverseInsert
public void reverseInsert(String word, int rowIndex)
-
getFistMultiChildNode
public MappingTrieNode getFistMultiChildNode(MappingTrieNode node)
-
getAllSubStringsOfStringContainIntersect
public Set<String> getAllSubStringsOfStringContainIntersect(String str, BitSet bitSet)
-
getIntersectOfChildren
public String getIntersectOfChildren(MappingTrieNode node)
-
getRoot
public MappingTrieNode getRoot()
-
reConstruct
public boolean reConstruct()
-
setWindowSize
public void setWindowSize(int windowSize)
-
-