Esempio n. 1
0
def display_distinct(db, arg, flt, srt, lmt, skp):
    for val in db.distinct(arg, flt=flt, sort=srt, limit=lmt, skip=skp):
        sys.stdout.write(str(val) + '\n')
Esempio n. 2
0
def display_distinct(db, arg, flt, srt, lmt, skp):
    for val in db.distinct(arg, flt=flt, sort=srt, limit=lmt, skip=skp):
        sys.stdout.write(str(val) + '\n')
Esempio n. 3
0
def display_short(db, flt, srt, lmt, skp):
    for val in db.distinct("addr", flt=flt, sort=srt, limit=lmt, skip=skp):
        sys.stdout.write(db.internal2ip(val) + '\n')
Esempio n. 4
0
def display_short(db, flt, srt, lmt, skp):
    for val in db.distinct("addr", flt=flt, sort=srt, limit=lmt, skip=skp):
        sys.stdout.write(db.internal2ip(val) + '\n')