15 lines
418 B
Python
15 lines
418 B
Python
import nzpy as nz
|
|
from transport.sql.common import BaseReader, BaseWriter
|
|
|
|
class Netezza:
|
|
def get_provider(self):
|
|
return 'netezza+nzpy'
|
|
def get_default_port(self):
|
|
return '5480'
|
|
|
|
class Reader(Netezza,BaseReader) :
|
|
def __init__(self,**_args):
|
|
super().__init__(**_args)
|
|
class Writer(Netezza,BaseWriter):
|
|
def __init__(self,**_args):
|
|
super().__init__(**_args) |