Пример #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"))