예제 #1
0
 def __init__(self, fileName, isRdb=False, idIsUniq=False):
     self.idIsUniq = idIsUniq
     if idIsUniq:
         uniqKeyCols="acc"
         multiKeyCols=None
     else:
         uniqKeyCols=None
         multiKeyCols="acc"
     TSVTable.__init__(self, fileName, typeMap=typeMap, isRdb=isRdb, uniqKeyCols=uniqKeyCols, multiKeyCols=multiKeyCols)
     self.idIndex = self.indices.acc
예제 #2
0
 def __init__(self, fileName, isRdb=False, idIsUniq=False):
     self.idIsUniq = idIsUniq
     if idIsUniq:
         uniqKeyCols = "acc"
         multiKeyCols = None
     else:
         uniqKeyCols = None
         multiKeyCols = "acc"
     TSVTable.__init__(self,
                       fileName,
                       typeMap=typeMap,
                       isRdb=isRdb,
                       uniqKeyCols=uniqKeyCols,
                       multiKeyCols=multiKeyCols)
     self.idIndex = self.indices.acc
예제 #3
0
 def __init__(self, fileName):
     TSVTable.__init__(self,
                       fileName,
                       typeMap=typeMap,
                       multiKeyCols=("inId", "selectId"))
예제 #4
0
 def __init__(self, fileName, isRdb=False):
     TSVTable.__init__(self, fileName, typeMap=typeMap, isRdb=isRdb)
예제 #5
0
 def __init__(self, fileName):
     TSVTable.__init__(self, fileName, typeMap=typeMap, multiKeyCols=("inId","selectId"))