machbaseapi 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- machbaseAPI/__init__.py +32 -0
- machbaseAPI/connector.py +251 -0
- machbaseAPI/conntest.py +27 -0
- machbaseAPI/constants.py +189 -0
- machbaseAPI/errors.py +38 -0
- machbaseAPI/machbaseAPI.py +318 -0
- machbaseAPI/marshal.py +225 -0
- machbaseAPI/packet.py +87 -0
- machbaseAPI/protocol.py +661 -0
- machbaseAPI/sample/ConnTest.py +55 -0
- machbaseAPI/sample/MakeData.py +14 -0
- machbaseAPI/sample/Sample1Connect.py +27 -0
- machbaseAPI/sample/Sample2Simple.py +77 -0
- machbaseAPI/sample/Sample3Append.py +70 -0
- machbaseAPI/sample/Sample4Fetch.py +137 -0
- machbaseAPI/sample/Sample5Append2.py +81 -0
- machbaseAPI/sample/Sample5ConnectEx.py +57 -0
- machbaseAPI/sample/__init__.py +1 -0
- machbaseAPI/sample/data.txt +99 -0
- machbaseAPI/types.py +52 -0
- machbaseapi-2.0.0.dist-info/METADATA +121 -0
- machbaseapi-2.0.0.dist-info/RECORD +24 -0
- machbaseapi-2.0.0.dist-info/WHEEL +5 -0
- machbaseapi-2.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
import os
|
|
8
|
+
import sys
|
|
9
|
+
from machbaseAPI.machbaseAPI import machbase
|
|
10
|
+
|
|
11
|
+
def connect(ip, port):
|
|
12
|
+
db = machbase()
|
|
13
|
+
if db.open(ip, 'SYS', 'MANAGER', port) == 0:
|
|
14
|
+
return db.result()
|
|
15
|
+
|
|
16
|
+
if db.execute('select count(*) from m$tables') == 0:
|
|
17
|
+
return db.result()
|
|
18
|
+
|
|
19
|
+
result = db.result()
|
|
20
|
+
|
|
21
|
+
if db.close() == 0:
|
|
22
|
+
return db.result()
|
|
23
|
+
|
|
24
|
+
return result
|
|
25
|
+
|
|
26
|
+
def print_help():
|
|
27
|
+
help_message = """
|
|
28
|
+
Usage: python script_name.py [IP] [PORT]
|
|
29
|
+
|
|
30
|
+
Options:
|
|
31
|
+
IP Specify the IP address of the database server (default: 127.0.0.1)
|
|
32
|
+
PORT Specify the port number of the database server (default: 5656)
|
|
33
|
+
"""
|
|
34
|
+
print(help_message)
|
|
35
|
+
|
|
36
|
+
if __name__ == "__main__":
|
|
37
|
+
# Default IP and port settings
|
|
38
|
+
default_ip = "127.0.0.1"
|
|
39
|
+
default_port = 5656
|
|
40
|
+
|
|
41
|
+
# Always display help message
|
|
42
|
+
print_help()
|
|
43
|
+
|
|
44
|
+
# Parse command-line arguments for IP and port
|
|
45
|
+
if len(sys.argv) > 1 and (sys.argv[1] in ["-h", "--help"]):
|
|
46
|
+
sys.exit(0)
|
|
47
|
+
|
|
48
|
+
ip = sys.argv[1] if len(sys.argv) > 1 else default_ip
|
|
49
|
+
port = int(sys.argv[2]) if len(sys.argv) > 2 else default_port
|
|
50
|
+
|
|
51
|
+
# Display connection information
|
|
52
|
+
print(f"Connecting to database at IP: {ip}, Port: {port}")
|
|
53
|
+
|
|
54
|
+
# Attempt to connect and display result
|
|
55
|
+
print(connect(ip, port))
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
def makeData():
|
|
8
|
+
with open('data.txt','w') as f:
|
|
9
|
+
for i in range(1,100):
|
|
10
|
+
text = str(i%32768)+","+str(i+i)+","+str((int)(i+i+i)*10000)+","+str((float)(i+2)/(i+i+i)*10000)+","+str((float)(i+1)/(i+i+i)*10000)+",char-"+str(i)+",text log-"+str(i)+",binary image-"+str(i)+",192.168.9."+str(i%256)+",2001:0DB8:0000:0000:0000:0000:1428:"+str(i%8999+1000)+",2015-05-18 15:26:"+str(i%40+10)+"\n";
|
|
11
|
+
f.write(text)
|
|
12
|
+
|
|
13
|
+
if __name__=="__main__":
|
|
14
|
+
makeData()
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
import os
|
|
8
|
+
from machbaseAPI.machbaseAPI import machbase
|
|
9
|
+
|
|
10
|
+
def connect():
|
|
11
|
+
port = int(os.environ['MACHBASE_PORT_NO'])
|
|
12
|
+
db = machbase()
|
|
13
|
+
if db.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
14
|
+
return db.result()
|
|
15
|
+
|
|
16
|
+
if db.execute('select count(*) from m$tables') == 0 :
|
|
17
|
+
return db.result()
|
|
18
|
+
|
|
19
|
+
result = db.result()
|
|
20
|
+
|
|
21
|
+
if db.close() == 0 :
|
|
22
|
+
return db.result()
|
|
23
|
+
|
|
24
|
+
return result
|
|
25
|
+
|
|
26
|
+
if __name__=="__main__":
|
|
27
|
+
print(connect())
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
import re
|
|
8
|
+
import json
|
|
9
|
+
import os
|
|
10
|
+
from machbaseAPI.machbaseAPI import machbase
|
|
11
|
+
|
|
12
|
+
def insert():
|
|
13
|
+
port = int(os.environ['MACHBASE_PORT_NO'])
|
|
14
|
+
db = machbase()
|
|
15
|
+
if db.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
16
|
+
return db.result()
|
|
17
|
+
|
|
18
|
+
db.execute('drop table sample_table')
|
|
19
|
+
db.result()
|
|
20
|
+
if db.execute('create table sample_table(d1 short, d2 integer, d3 long, f1 float, f2 double, name varchar(20), text text, bin binary, v4 ipv4, v6 ipv6, dt datetime)') == 0:
|
|
21
|
+
return db.result()
|
|
22
|
+
db.result()
|
|
23
|
+
|
|
24
|
+
for i in range(1,10):
|
|
25
|
+
sql = "INSERT INTO SAMPLE_TABLE VALUES ("
|
|
26
|
+
sql += str((i - 5) * 6552) #short
|
|
27
|
+
sql += ","+ str((i - 5) * 42949672) #integer
|
|
28
|
+
sql += ","+ str((i - 5) * 92233720368547758) #long
|
|
29
|
+
sql += ","+ "1.234"+str((i-5)*7) #float
|
|
30
|
+
sql += ","+ "1.234"+str((i-5)*61) #double
|
|
31
|
+
sql += ",'id-"+str(i)+"'" #varchar
|
|
32
|
+
sql += ",'name-"+str(i)+"'" #text
|
|
33
|
+
sql += ",'aabbccddeeff'" #binary
|
|
34
|
+
sql += ",'192.168.0."+str(i)+"'" #ipv4
|
|
35
|
+
sql += ",'::192.168.0."+str(i)+"'" #ipv6
|
|
36
|
+
sql += ",TO_DATE('2015-08-0"+str(i)+"','YYYY-MM-DD')" #date
|
|
37
|
+
sql += ")";
|
|
38
|
+
|
|
39
|
+
if db.execute(sql) == 0 :
|
|
40
|
+
return db.result()
|
|
41
|
+
else:
|
|
42
|
+
print(db.result())
|
|
43
|
+
|
|
44
|
+
print(str(i)+" record inserted.")
|
|
45
|
+
|
|
46
|
+
query = "SELECT d1, d2, d3, f1, f2, name, text, bin, to_hex(bin), v4, v6, to_char(dt,'YYYY-MM-DD') as dt from SAMPLE_TABLE";
|
|
47
|
+
|
|
48
|
+
if db.select(query) == 0:
|
|
49
|
+
return db.result()
|
|
50
|
+
|
|
51
|
+
while True:
|
|
52
|
+
is_success, result = db.fetch()
|
|
53
|
+
if is_success == 0:
|
|
54
|
+
break;
|
|
55
|
+
|
|
56
|
+
res = json.loads(result)
|
|
57
|
+
print("d1 : "+res.get('d1'))
|
|
58
|
+
print("d2 : "+res.get('d2'))
|
|
59
|
+
print("d3 : "+res.get('d3'))
|
|
60
|
+
print("f1 : "+res.get('f1'))
|
|
61
|
+
print("f2 : "+res.get('f2'))
|
|
62
|
+
print("name : "+res.get('name'))
|
|
63
|
+
print("text : "+res.get('text'))
|
|
64
|
+
print("bin : "+res.get('bin'))
|
|
65
|
+
print("to_hex(bin) : "+res.get('to_hex(bin)'))
|
|
66
|
+
print("v4 : "+res.get('v4'))
|
|
67
|
+
print("v6 : "+res.get('v6'))
|
|
68
|
+
print("dt : "+res.get('dt'))
|
|
69
|
+
|
|
70
|
+
db.selectClose()
|
|
71
|
+
if db.close() == 0 :
|
|
72
|
+
return db.result()
|
|
73
|
+
|
|
74
|
+
return "successfully executed."
|
|
75
|
+
|
|
76
|
+
if __name__=="__main__":
|
|
77
|
+
print(insert())
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
import re
|
|
8
|
+
import json
|
|
9
|
+
import os
|
|
10
|
+
from machbaseAPI.machbaseAPI import machbase
|
|
11
|
+
|
|
12
|
+
def append():
|
|
13
|
+
#init,columns start
|
|
14
|
+
port = int(os.environ['MACHBASE_PORT_NO'])
|
|
15
|
+
db = machbase()
|
|
16
|
+
if db.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
17
|
+
return db.result()
|
|
18
|
+
|
|
19
|
+
db.execute('drop table sample_table')
|
|
20
|
+
db.result()
|
|
21
|
+
if db.execute('create table sample_table(d1 short, d2 integer, d3 long, f1 float, f2 double, name varchar(20), text text, bin binary, v4 ipv4, v6 ipv6, dt datetime)') == 0:
|
|
22
|
+
return db.result()
|
|
23
|
+
db.result()
|
|
24
|
+
|
|
25
|
+
tableName = 'sample_table'
|
|
26
|
+
db.columns(tableName)
|
|
27
|
+
result = db.result()
|
|
28
|
+
|
|
29
|
+
if db.close() == 0 :
|
|
30
|
+
return db.result()
|
|
31
|
+
#init, colums end
|
|
32
|
+
|
|
33
|
+
#append start
|
|
34
|
+
db2 = machbase()
|
|
35
|
+
if db2.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
36
|
+
return db2.result()
|
|
37
|
+
|
|
38
|
+
types = []
|
|
39
|
+
for item in re.findall('{[^}]+}',result):
|
|
40
|
+
types.append(json.loads(item).get('type'))
|
|
41
|
+
|
|
42
|
+
values = []
|
|
43
|
+
with open('data.txt','r') as f:
|
|
44
|
+
for line in f.readlines():
|
|
45
|
+
v = []
|
|
46
|
+
i = 0
|
|
47
|
+
for l in line[:-1].split(','):
|
|
48
|
+
t = int(types[i])
|
|
49
|
+
if (t == 4 or t == 8 or t == 12 or t == 104 or t == 108 or t == 112) and (l != ''):
|
|
50
|
+
#short integer long ushort uinteger ulong
|
|
51
|
+
v.append(int(l))
|
|
52
|
+
elif (t == 16 or t == 20) and (l != ''):
|
|
53
|
+
#float double
|
|
54
|
+
v.append(float(l))
|
|
55
|
+
else:
|
|
56
|
+
v.append(str(l))
|
|
57
|
+
i += 1
|
|
58
|
+
values.append(v)
|
|
59
|
+
|
|
60
|
+
db2.append(tableName, types, values, 'YYYY-MM-DD HH24:MI:SS')
|
|
61
|
+
result = db2.result()
|
|
62
|
+
|
|
63
|
+
if db2.close() == 0 :
|
|
64
|
+
return db2.result()
|
|
65
|
+
#append end
|
|
66
|
+
|
|
67
|
+
return result
|
|
68
|
+
|
|
69
|
+
if __name__=="__main__":
|
|
70
|
+
print(append())
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
import re
|
|
8
|
+
import json, sys, os
|
|
9
|
+
import time
|
|
10
|
+
from machbaseAPI.machbaseAPI import machbase
|
|
11
|
+
|
|
12
|
+
def sample():
|
|
13
|
+
port = int(os.environ['MACHBASE_PORT_NO'])
|
|
14
|
+
records = 500000
|
|
15
|
+
tablename = 'sample_table'
|
|
16
|
+
|
|
17
|
+
db = machbase()
|
|
18
|
+
if db.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
19
|
+
return db.result()
|
|
20
|
+
|
|
21
|
+
db.execute('drop table ' + tablename)
|
|
22
|
+
db.result()
|
|
23
|
+
if db.execute('create table ' + tablename + '(idx integer, d1 short, d2 integer, d3 long, f1 float, f2 double, name varchar(20), text text, bin binary, v4 ipv4, v6 ipv6, dt datetime)') == 0:
|
|
24
|
+
return db.result()
|
|
25
|
+
db.result()
|
|
26
|
+
|
|
27
|
+
db.columns(tablename)
|
|
28
|
+
result = db.result()
|
|
29
|
+
|
|
30
|
+
if db.close() == 0:
|
|
31
|
+
return db.result()
|
|
32
|
+
|
|
33
|
+
# append start
|
|
34
|
+
db2 = machbase()
|
|
35
|
+
|
|
36
|
+
types = []
|
|
37
|
+
for item in re.findall('{[^}]+}',result):
|
|
38
|
+
types.append(json.loads(item).get('type'))
|
|
39
|
+
|
|
40
|
+
sStart = time.time()
|
|
41
|
+
if db2.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
42
|
+
return db2.result()
|
|
43
|
+
|
|
44
|
+
if db2.appendOpen(tablename, types) == 0:
|
|
45
|
+
return db2.result()
|
|
46
|
+
print("append open")
|
|
47
|
+
|
|
48
|
+
print("append ", end=" ")
|
|
49
|
+
sys.stdout.flush()
|
|
50
|
+
values = []
|
|
51
|
+
for i in range(0, records):
|
|
52
|
+
v = []
|
|
53
|
+
v.append(i-1)
|
|
54
|
+
v.append(i%32768)
|
|
55
|
+
v.append(i+i)
|
|
56
|
+
v.append(int(i+i+i)*10000)
|
|
57
|
+
v.append(float((i+2)/(i+i+i+1))*10000)
|
|
58
|
+
v.append(float((i+1)/(i+i+i+1))*10000)
|
|
59
|
+
v.append("char-"+str(i))
|
|
60
|
+
v.append("text log-"+str(i))
|
|
61
|
+
v.append("binary image-"+str(i))
|
|
62
|
+
v.append("192.168.9."+str(i%256))
|
|
63
|
+
v.append("2001:0DB8:0000:0000:0000:0000:1428:"+str(i%8999+1000))
|
|
64
|
+
v.append("2015-05-18 15:26:"+str(i%40+10))
|
|
65
|
+
|
|
66
|
+
values.append(v)
|
|
67
|
+
if (i % 100000) == 0:
|
|
68
|
+
print(str(i), end=" ")
|
|
69
|
+
sys.stdout.flush()
|
|
70
|
+
if (i % 10000) == 0:
|
|
71
|
+
continue
|
|
72
|
+
if db2.appendData(tablename, types, values) == 0:
|
|
73
|
+
return db2.result()
|
|
74
|
+
values = []
|
|
75
|
+
print("")
|
|
76
|
+
if len(values) > 0:
|
|
77
|
+
if db2.appendData(tablename, types, values) == 0:
|
|
78
|
+
return db2.result()
|
|
79
|
+
|
|
80
|
+
if db2.appendClose() == 0:
|
|
81
|
+
return db2.result()
|
|
82
|
+
|
|
83
|
+
if db2.close() == 0 :
|
|
84
|
+
return db2.result()
|
|
85
|
+
sEnd = time.time()
|
|
86
|
+
print("append Close (" + str(i+1) + " records)")
|
|
87
|
+
print('elapsed time : ' + str(sEnd - sStart) + " sec\n")
|
|
88
|
+
# append end
|
|
89
|
+
|
|
90
|
+
db = machbase()
|
|
91
|
+
if db.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
92
|
+
return db.result()
|
|
93
|
+
|
|
94
|
+
query = "SELECT idx, d1, d2, d3, f1, f2, name, text, bin, to_hex(bin), v4, v6, to_char(dt,'YYYY-MM-DD') as dt from " + tablename
|
|
95
|
+
|
|
96
|
+
print("==================================================")
|
|
97
|
+
print("Using select() -> fetch() -> selectClose()")
|
|
98
|
+
|
|
99
|
+
sStart = time.time()
|
|
100
|
+
if db.select(query) == 0:
|
|
101
|
+
return db.result()
|
|
102
|
+
|
|
103
|
+
sIdx = -1
|
|
104
|
+
while True:
|
|
105
|
+
is_success, result = db.fetch()
|
|
106
|
+
if is_success == 0:
|
|
107
|
+
break;
|
|
108
|
+
|
|
109
|
+
res = json.loads(result)
|
|
110
|
+
sIdx += 1
|
|
111
|
+
if sIdx % 100000 > 0:
|
|
112
|
+
continue
|
|
113
|
+
print("idx : "+res.get('idx'))
|
|
114
|
+
print("d1 : "+res.get('d1'))
|
|
115
|
+
print("d2 : "+res.get('d2'))
|
|
116
|
+
print("d3 : "+res.get('d3'))
|
|
117
|
+
print("f1 : "+res.get('f1'))
|
|
118
|
+
print("f2 : "+res.get('f2'))
|
|
119
|
+
print("name : "+res.get('name'))
|
|
120
|
+
print("text : "+res.get('text'))
|
|
121
|
+
print("bin : "+res.get('bin'))
|
|
122
|
+
print("v4 : "+res.get('v4'))
|
|
123
|
+
print("v6 : "+res.get('v6'))
|
|
124
|
+
print("dt : "+res.get('dt'))
|
|
125
|
+
print("")
|
|
126
|
+
|
|
127
|
+
db.selectClose()
|
|
128
|
+
sEnd = time.time()
|
|
129
|
+
print("elapsed time : " + str(sEnd - sStart) + " sec\n")
|
|
130
|
+
|
|
131
|
+
if db.close() == 0 :
|
|
132
|
+
return db.result()
|
|
133
|
+
|
|
134
|
+
return "successfully executed."
|
|
135
|
+
|
|
136
|
+
if __name__=="__main__":
|
|
137
|
+
print(sample())
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
import re
|
|
8
|
+
import json
|
|
9
|
+
import os
|
|
10
|
+
import time
|
|
11
|
+
from machbaseAPI.machbaseAPI import machbase
|
|
12
|
+
|
|
13
|
+
def append():
|
|
14
|
+
#init,columns start
|
|
15
|
+
port = int(os.environ['MACHBASE_PORT_NO'])
|
|
16
|
+
db = machbase()
|
|
17
|
+
if db.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
18
|
+
return db.result()
|
|
19
|
+
|
|
20
|
+
db.execute('drop table sample_table')
|
|
21
|
+
db.result()
|
|
22
|
+
if db.execute('create table sample_table(d1 short, d2 integer, d3 long, f1 float, f2 double, name varchar(20), text text, bin binary, v4 ipv4, v6 ipv6, dt datetime)') == 0:
|
|
23
|
+
return db.result()
|
|
24
|
+
db.result()
|
|
25
|
+
|
|
26
|
+
tableName = 'sample_table'
|
|
27
|
+
db.columns(tableName)
|
|
28
|
+
result = db.result()
|
|
29
|
+
|
|
30
|
+
if db.close() == 0 :
|
|
31
|
+
return db.result()
|
|
32
|
+
#init, colums end
|
|
33
|
+
|
|
34
|
+
#appendByTime start
|
|
35
|
+
db2 = machbase()
|
|
36
|
+
if db2.open('127.0.0.1','SYS','MANAGER',port) == 0 :
|
|
37
|
+
return db2.result()
|
|
38
|
+
|
|
39
|
+
types = []
|
|
40
|
+
for item in re.findall('{[^}]+}',result):
|
|
41
|
+
types.append(json.loads(item).get('type'))
|
|
42
|
+
|
|
43
|
+
values = []
|
|
44
|
+
|
|
45
|
+
datesec = int(time.time())
|
|
46
|
+
sStartTimeNs = datesec*1000000*1000;
|
|
47
|
+
|
|
48
|
+
times = []
|
|
49
|
+
with open('data.txt','r') as f:
|
|
50
|
+
for line in f.readlines():
|
|
51
|
+
v = []
|
|
52
|
+
i = 0
|
|
53
|
+
linenum = 0
|
|
54
|
+
for l in line[:-1].split(','):
|
|
55
|
+
t = int(types[i])
|
|
56
|
+
if (t == 4 or t == 8 or t == 12 or t == 104 or t == 108 or t == 112) and (l != ''):
|
|
57
|
+
#short integer long ushort uinteger ulong
|
|
58
|
+
v.append(int(l))
|
|
59
|
+
elif (t == 16 or t == 20) and (l != ''):
|
|
60
|
+
#float double
|
|
61
|
+
v.append(float(l))
|
|
62
|
+
else:
|
|
63
|
+
v.append(str(l))
|
|
64
|
+
i += 1
|
|
65
|
+
values.append(v)
|
|
66
|
+
|
|
67
|
+
timeNs = sStartTimeNs + (1000000 * linenum * 1000);
|
|
68
|
+
times.append(timeNs)
|
|
69
|
+
linenum += 1
|
|
70
|
+
|
|
71
|
+
db2.appendByTime(tableName, types, values, 'YYYY-MM-DD HH24:MI:SS', times)
|
|
72
|
+
result = db2.result()
|
|
73
|
+
|
|
74
|
+
if db2.close() == 0 :
|
|
75
|
+
return db2.result()
|
|
76
|
+
#appendByTime end
|
|
77
|
+
|
|
78
|
+
return result
|
|
79
|
+
|
|
80
|
+
if __name__=="__main__":
|
|
81
|
+
print (append())
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#******************************************************************************
|
|
2
|
+
# Copyright of this product 2013-2023,
|
|
3
|
+
# MACHBASE Corporation(or Inc.) or its subsidiaries.
|
|
4
|
+
# All Rights reserved.
|
|
5
|
+
#******************************************************************************
|
|
6
|
+
|
|
7
|
+
import re
|
|
8
|
+
import json
|
|
9
|
+
import os
|
|
10
|
+
from machbaseAPI.machbaseAPI import machbase
|
|
11
|
+
|
|
12
|
+
def insert():
|
|
13
|
+
port = int(os.environ['MACHBASE_PORT_NO'])
|
|
14
|
+
db = machbase()
|
|
15
|
+
# Extention conection with additional param (_ARRIVAL_TIME will be shown)
|
|
16
|
+
if db.openEx('127.0.0.1','SYS','MANAGER',port, 'SHOW_HIDDEN_COLS=1;CONNECTION_TIMEOUT=30') == 0 :
|
|
17
|
+
return db.result()
|
|
18
|
+
|
|
19
|
+
db.execute('drop table sample_table')
|
|
20
|
+
db.result()
|
|
21
|
+
if db.execute('create table sample_table(id integer)') == 0:
|
|
22
|
+
return db.result()
|
|
23
|
+
db.result()
|
|
24
|
+
|
|
25
|
+
for i in range(1,10):
|
|
26
|
+
sql = "INSERT INTO SAMPLE_TABLE VALUES ("
|
|
27
|
+
sql += str(i)
|
|
28
|
+
sql += ")";
|
|
29
|
+
|
|
30
|
+
if db.execute(sql) == 0 :
|
|
31
|
+
return db.result()
|
|
32
|
+
else:
|
|
33
|
+
print(db.result())
|
|
34
|
+
|
|
35
|
+
print(str(i)+" record inserted.")
|
|
36
|
+
|
|
37
|
+
query = "SELECT * from SAMPLE_TABLE";
|
|
38
|
+
|
|
39
|
+
if db.select(query) == 0:
|
|
40
|
+
return db.result()
|
|
41
|
+
|
|
42
|
+
while True:
|
|
43
|
+
is_success, result = db.fetch()
|
|
44
|
+
if is_success == 0:
|
|
45
|
+
break;
|
|
46
|
+
|
|
47
|
+
res = json.loads(result)
|
|
48
|
+
print( "Arrival_time : "+res.get('_ARRIVAL_TIME')) # hidden column
|
|
49
|
+
|
|
50
|
+
db.selectClose()
|
|
51
|
+
if db.close() == 0 :
|
|
52
|
+
return db.result()
|
|
53
|
+
|
|
54
|
+
return "successfully executed."
|
|
55
|
+
|
|
56
|
+
if __name__=="__main__":
|
|
57
|
+
print(insert())
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Sample scripts for local testing and migration checks.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
1,2,30000,10000.0,6666.666666666666,char-1,text log-1,binary image-1,192.168.9.1,2001:0DB8:0000:0000:0000:0000:1428:1001,2015-05-18 15:26:11
|
|
2
|
+
2,4,60000,6666.666666666666,5000.0,char-2,text log-2,binary image-2,192.168.9.2,2001:0DB8:0000:0000:0000:0000:1428:1002,2015-05-18 15:26:12
|
|
3
|
+
3,6,90000,5555.555555555556,4444.444444444444,char-3,text log-3,binary image-3,192.168.9.3,2001:0DB8:0000:0000:0000:0000:1428:1003,2015-05-18 15:26:13
|
|
4
|
+
4,8,120000,5000.0,4166.666666666667,char-4,text log-4,binary image-4,192.168.9.4,2001:0DB8:0000:0000:0000:0000:1428:1004,2015-05-18 15:26:14
|
|
5
|
+
5,10,150000,4666.666666666667,4000.0,char-5,text log-5,binary image-5,192.168.9.5,2001:0DB8:0000:0000:0000:0000:1428:1005,2015-05-18 15:26:15
|
|
6
|
+
6,12,180000,4444.444444444444,3888.888888888889,char-6,text log-6,binary image-6,192.168.9.6,2001:0DB8:0000:0000:0000:0000:1428:1006,2015-05-18 15:26:16
|
|
7
|
+
7,14,210000,4285.714285714285,3809.523809523809,char-7,text log-7,binary image-7,192.168.9.7,2001:0DB8:0000:0000:0000:0000:1428:1007,2015-05-18 15:26:17
|
|
8
|
+
8,16,240000,4166.666666666667,3750.0,char-8,text log-8,binary image-8,192.168.9.8,2001:0DB8:0000:0000:0000:0000:1428:1008,2015-05-18 15:26:18
|
|
9
|
+
9,18,270000,4074.074074074074,3703.7037037037035,char-9,text log-9,binary image-9,192.168.9.9,2001:0DB8:0000:0000:0000:0000:1428:1009,2015-05-18 15:26:19
|
|
10
|
+
10,20,300000,4000.0,3666.6666666666665,char-10,text log-10,binary image-10,192.168.9.10,2001:0DB8:0000:0000:0000:0000:1428:1010,2015-05-18 15:26:20
|
|
11
|
+
11,22,330000,3939.393939393939,3636.3636363636365,char-11,text log-11,binary image-11,192.168.9.11,2001:0DB8:0000:0000:0000:0000:1428:1011,2015-05-18 15:26:21
|
|
12
|
+
12,24,360000,3888.888888888889,3611.111111111111,char-12,text log-12,binary image-12,192.168.9.12,2001:0DB8:0000:0000:0000:0000:1428:1012,2015-05-18 15:26:22
|
|
13
|
+
13,26,390000,3846.153846153846,3589.74358974359,char-13,text log-13,binary image-13,192.168.9.13,2001:0DB8:0000:0000:0000:0000:1428:1013,2015-05-18 15:26:23
|
|
14
|
+
14,28,420000,3809.523809523809,3571.4285714285716,char-14,text log-14,binary image-14,192.168.9.14,2001:0DB8:0000:0000:0000:0000:1428:1014,2015-05-18 15:26:24
|
|
15
|
+
15,30,450000,3777.777777777778,3555.5555555555557,char-15,text log-15,binary image-15,192.168.9.15,2001:0DB8:0000:0000:0000:0000:1428:1015,2015-05-18 15:26:25
|
|
16
|
+
16,32,480000,3750.0,3541.666666666667,char-16,text log-16,binary image-16,192.168.9.16,2001:0DB8:0000:0000:0000:0000:1428:1016,2015-05-18 15:26:26
|
|
17
|
+
17,34,510000,3725.4901960784314,3529.4117647058824,char-17,text log-17,binary image-17,192.168.9.17,2001:0DB8:0000:0000:0000:0000:1428:1017,2015-05-18 15:26:27
|
|
18
|
+
18,36,540000,3703.7037037037035,3518.5185185185187,char-18,text log-18,binary image-18,192.168.9.18,2001:0DB8:0000:0000:0000:0000:1428:1018,2015-05-18 15:26:28
|
|
19
|
+
19,38,570000,3684.210526315789,3508.771929824561,char-19,text log-19,binary image-19,192.168.9.19,2001:0DB8:0000:0000:0000:0000:1428:1019,2015-05-18 15:26:29
|
|
20
|
+
20,40,600000,3666.6666666666665,3500.0,char-20,text log-20,binary image-20,192.168.9.20,2001:0DB8:0000:0000:0000:0000:1428:1020,2015-05-18 15:26:30
|
|
21
|
+
21,42,630000,3650.7936507936506,3492.063492063492,char-21,text log-21,binary image-21,192.168.9.21,2001:0DB8:0000:0000:0000:0000:1428:1021,2015-05-18 15:26:31
|
|
22
|
+
22,44,660000,3636.3636363636365,3484.848484848485,char-22,text log-22,binary image-22,192.168.9.22,2001:0DB8:0000:0000:0000:0000:1428:1022,2015-05-18 15:26:32
|
|
23
|
+
23,46,690000,3623.1884057971015,3478.2608695652175,char-23,text log-23,binary image-23,192.168.9.23,2001:0DB8:0000:0000:0000:0000:1428:1023,2015-05-18 15:26:33
|
|
24
|
+
24,48,720000,3611.111111111111,3472.222222222222,char-24,text log-24,binary image-24,192.168.9.24,2001:0DB8:0000:0000:0000:0000:1428:1024,2015-05-18 15:26:34
|
|
25
|
+
25,50,750000,3600.0,3466.666666666667,char-25,text log-25,binary image-25,192.168.9.25,2001:0DB8:0000:0000:0000:0000:1428:1025,2015-05-18 15:26:35
|
|
26
|
+
26,52,780000,3589.74358974359,3461.5384615384614,char-26,text log-26,binary image-26,192.168.9.26,2001:0DB8:0000:0000:0000:0000:1428:1026,2015-05-18 15:26:36
|
|
27
|
+
27,54,810000,3580.2469135802467,3456.79012345679,char-27,text log-27,binary image-27,192.168.9.27,2001:0DB8:0000:0000:0000:0000:1428:1027,2015-05-18 15:26:37
|
|
28
|
+
28,56,840000,3571.4285714285716,3452.3809523809523,char-28,text log-28,binary image-28,192.168.9.28,2001:0DB8:0000:0000:0000:0000:1428:1028,2015-05-18 15:26:38
|
|
29
|
+
29,58,870000,3563.2183908045977,3448.2758620689656,char-29,text log-29,binary image-29,192.168.9.29,2001:0DB8:0000:0000:0000:0000:1428:1029,2015-05-18 15:26:39
|
|
30
|
+
30,60,900000,3555.5555555555557,3444.4444444444443,char-30,text log-30,binary image-30,192.168.9.30,2001:0DB8:0000:0000:0000:0000:1428:1030,2015-05-18 15:26:40
|
|
31
|
+
31,62,930000,3548.3870967741937,3440.8602150537636,char-31,text log-31,binary image-31,192.168.9.31,2001:0DB8:0000:0000:0000:0000:1428:1031,2015-05-18 15:26:41
|
|
32
|
+
32,64,960000,3541.666666666667,3437.5,char-32,text log-32,binary image-32,192.168.9.32,2001:0DB8:0000:0000:0000:0000:1428:1032,2015-05-18 15:26:42
|
|
33
|
+
33,66,990000,3535.3535353535353,3434.343434343434,char-33,text log-33,binary image-33,192.168.9.33,2001:0DB8:0000:0000:0000:0000:1428:1033,2015-05-18 15:26:43
|
|
34
|
+
34,68,1020000,3529.4117647058824,3431.372549019608,char-34,text log-34,binary image-34,192.168.9.34,2001:0DB8:0000:0000:0000:0000:1428:1034,2015-05-18 15:26:44
|
|
35
|
+
35,70,1050000,3523.809523809524,3428.5714285714284,char-35,text log-35,binary image-35,192.168.9.35,2001:0DB8:0000:0000:0000:0000:1428:1035,2015-05-18 15:26:45
|
|
36
|
+
36,72,1080000,3518.5185185185187,3425.925925925926,char-36,text log-36,binary image-36,192.168.9.36,2001:0DB8:0000:0000:0000:0000:1428:1036,2015-05-18 15:26:46
|
|
37
|
+
37,74,1110000,3513.5135135135138,3423.4234234234236,char-37,text log-37,binary image-37,192.168.9.37,2001:0DB8:0000:0000:0000:0000:1428:1037,2015-05-18 15:26:47
|
|
38
|
+
38,76,1140000,3508.771929824561,3421.0526315789475,char-38,text log-38,binary image-38,192.168.9.38,2001:0DB8:0000:0000:0000:0000:1428:1038,2015-05-18 15:26:48
|
|
39
|
+
39,78,1170000,3504.273504273504,3418.803418803419,char-39,text log-39,binary image-39,192.168.9.39,2001:0DB8:0000:0000:0000:0000:1428:1039,2015-05-18 15:26:49
|
|
40
|
+
40,80,1200000,3500.0,3416.6666666666665,char-40,text log-40,binary image-40,192.168.9.40,2001:0DB8:0000:0000:0000:0000:1428:1040,2015-05-18 15:26:10
|
|
41
|
+
41,82,1230000,3495.9349593495936,3414.6341463414637,char-41,text log-41,binary image-41,192.168.9.41,2001:0DB8:0000:0000:0000:0000:1428:1041,2015-05-18 15:26:11
|
|
42
|
+
42,84,1260000,3492.063492063492,3412.698412698413,char-42,text log-42,binary image-42,192.168.9.42,2001:0DB8:0000:0000:0000:0000:1428:1042,2015-05-18 15:26:12
|
|
43
|
+
43,86,1290000,3488.3720930232557,3410.8527131782944,char-43,text log-43,binary image-43,192.168.9.43,2001:0DB8:0000:0000:0000:0000:1428:1043,2015-05-18 15:26:13
|
|
44
|
+
44,88,1320000,3484.848484848485,3409.090909090909,char-44,text log-44,binary image-44,192.168.9.44,2001:0DB8:0000:0000:0000:0000:1428:1044,2015-05-18 15:26:14
|
|
45
|
+
45,90,1350000,3481.4814814814813,3407.4074074074074,char-45,text log-45,binary image-45,192.168.9.45,2001:0DB8:0000:0000:0000:0000:1428:1045,2015-05-18 15:26:15
|
|
46
|
+
46,92,1380000,3478.2608695652175,3405.7971014492755,char-46,text log-46,binary image-46,192.168.9.46,2001:0DB8:0000:0000:0000:0000:1428:1046,2015-05-18 15:26:16
|
|
47
|
+
47,94,1410000,3475.177304964539,3404.255319148936,char-47,text log-47,binary image-47,192.168.9.47,2001:0DB8:0000:0000:0000:0000:1428:1047,2015-05-18 15:26:17
|
|
48
|
+
48,96,1440000,3472.222222222222,3402.777777777778,char-48,text log-48,binary image-48,192.168.9.48,2001:0DB8:0000:0000:0000:0000:1428:1048,2015-05-18 15:26:18
|
|
49
|
+
49,98,1470000,3469.387755102041,3401.3605442176868,char-49,text log-49,binary image-49,192.168.9.49,2001:0DB8:0000:0000:0000:0000:1428:1049,2015-05-18 15:26:19
|
|
50
|
+
50,100,1500000,3466.666666666667,3400.0000000000005,char-50,text log-50,binary image-50,192.168.9.50,2001:0DB8:0000:0000:0000:0000:1428:1050,2015-05-18 15:26:20
|
|
51
|
+
51,102,1530000,3464.052287581699,3398.6928104575163,char-51,text log-51,binary image-51,192.168.9.51,2001:0DB8:0000:0000:0000:0000:1428:1051,2015-05-18 15:26:21
|
|
52
|
+
52,104,1560000,3461.5384615384614,3397.4358974358975,char-52,text log-52,binary image-52,192.168.9.52,2001:0DB8:0000:0000:0000:0000:1428:1052,2015-05-18 15:26:22
|
|
53
|
+
53,106,1590000,3459.119496855346,3396.2264150943392,char-53,text log-53,binary image-53,192.168.9.53,2001:0DB8:0000:0000:0000:0000:1428:1053,2015-05-18 15:26:23
|
|
54
|
+
54,108,1620000,3456.79012345679,3395.061728395062,char-54,text log-54,binary image-54,192.168.9.54,2001:0DB8:0000:0000:0000:0000:1428:1054,2015-05-18 15:26:24
|
|
55
|
+
55,110,1650000,3454.5454545454545,3393.939393939394,char-55,text log-55,binary image-55,192.168.9.55,2001:0DB8:0000:0000:0000:0000:1428:1055,2015-05-18 15:26:25
|
|
56
|
+
56,112,1680000,3452.3809523809523,3392.857142857143,char-56,text log-56,binary image-56,192.168.9.56,2001:0DB8:0000:0000:0000:0000:1428:1056,2015-05-18 15:26:26
|
|
57
|
+
57,114,1710000,3450.2923976608186,3391.812865497076,char-57,text log-57,binary image-57,192.168.9.57,2001:0DB8:0000:0000:0000:0000:1428:1057,2015-05-18 15:26:27
|
|
58
|
+
58,116,1740000,3448.2758620689656,3390.8045977011493,char-58,text log-58,binary image-58,192.168.9.58,2001:0DB8:0000:0000:0000:0000:1428:1058,2015-05-18 15:26:28
|
|
59
|
+
59,118,1770000,3446.3276836158193,3389.830508474576,char-59,text log-59,binary image-59,192.168.9.59,2001:0DB8:0000:0000:0000:0000:1428:1059,2015-05-18 15:26:29
|
|
60
|
+
60,120,1800000,3444.4444444444443,3388.888888888889,char-60,text log-60,binary image-60,192.168.9.60,2001:0DB8:0000:0000:0000:0000:1428:1060,2015-05-18 15:26:30
|
|
61
|
+
61,122,1830000,3442.622950819672,3387.9781420765025,char-61,text log-61,binary image-61,192.168.9.61,2001:0DB8:0000:0000:0000:0000:1428:1061,2015-05-18 15:26:31
|
|
62
|
+
62,124,1860000,3440.8602150537636,3387.0967741935483,char-62,text log-62,binary image-62,192.168.9.62,2001:0DB8:0000:0000:0000:0000:1428:1062,2015-05-18 15:26:32
|
|
63
|
+
63,126,1890000,3439.1534391534387,3386.243386243386,char-63,text log-63,binary image-63,192.168.9.63,2001:0DB8:0000:0000:0000:0000:1428:1063,2015-05-18 15:26:33
|
|
64
|
+
64,128,1920000,3437.5,3385.416666666667,char-64,text log-64,binary image-64,192.168.9.64,2001:0DB8:0000:0000:0000:0000:1428:1064,2015-05-18 15:26:34
|
|
65
|
+
65,130,1950000,3435.897435897436,3384.6153846153848,char-65,text log-65,binary image-65,192.168.9.65,2001:0DB8:0000:0000:0000:0000:1428:1065,2015-05-18 15:26:35
|
|
66
|
+
66,132,1980000,3434.343434343434,3383.838383838384,char-66,text log-66,binary image-66,192.168.9.66,2001:0DB8:0000:0000:0000:0000:1428:1066,2015-05-18 15:26:36
|
|
67
|
+
67,134,2010000,3432.8358208955224,3383.084577114428,char-67,text log-67,binary image-67,192.168.9.67,2001:0DB8:0000:0000:0000:0000:1428:1067,2015-05-18 15:26:37
|
|
68
|
+
68,136,2040000,3431.372549019608,3382.3529411764707,char-68,text log-68,binary image-68,192.168.9.68,2001:0DB8:0000:0000:0000:0000:1428:1068,2015-05-18 15:26:38
|
|
69
|
+
69,138,2070000,3429.9516908212563,3381.6425120772947,char-69,text log-69,binary image-69,192.168.9.69,2001:0DB8:0000:0000:0000:0000:1428:1069,2015-05-18 15:26:39
|
|
70
|
+
70,140,2100000,3428.5714285714284,3380.952380952381,char-70,text log-70,binary image-70,192.168.9.70,2001:0DB8:0000:0000:0000:0000:1428:1070,2015-05-18 15:26:40
|
|
71
|
+
71,142,2130000,3427.230046948357,3380.281690140845,char-71,text log-71,binary image-71,192.168.9.71,2001:0DB8:0000:0000:0000:0000:1428:1071,2015-05-18 15:26:41
|
|
72
|
+
72,144,2160000,3425.925925925926,3379.6296296296296,char-72,text log-72,binary image-72,192.168.9.72,2001:0DB8:0000:0000:0000:0000:1428:1072,2015-05-18 15:26:42
|
|
73
|
+
73,146,2190000,3424.6575342465753,3378.995433789954,char-73,text log-73,binary image-73,192.168.9.73,2001:0DB8:0000:0000:0000:0000:1428:1073,2015-05-18 15:26:43
|
|
74
|
+
74,148,2220000,3423.4234234234236,3378.3783783783783,char-74,text log-74,binary image-74,192.168.9.74,2001:0DB8:0000:0000:0000:0000:1428:1074,2015-05-18 15:26:44
|
|
75
|
+
75,150,2250000,3422.222222222222,3377.777777777778,char-75,text log-75,binary image-75,192.168.9.75,2001:0DB8:0000:0000:0000:0000:1428:1075,2015-05-18 15:26:45
|
|
76
|
+
76,152,2280000,3421.0526315789475,3377.1929824561403,char-76,text log-76,binary image-76,192.168.9.76,2001:0DB8:0000:0000:0000:0000:1428:1076,2015-05-18 15:26:46
|
|
77
|
+
77,154,2310000,3419.91341991342,3376.6233766233768,char-77,text log-77,binary image-77,192.168.9.77,2001:0DB8:0000:0000:0000:0000:1428:1077,2015-05-18 15:26:47
|
|
78
|
+
78,156,2340000,3418.803418803419,3376.0683760683764,char-78,text log-78,binary image-78,192.168.9.78,2001:0DB8:0000:0000:0000:0000:1428:1078,2015-05-18 15:26:48
|
|
79
|
+
79,158,2370000,3417.721518987342,3375.527426160337,char-79,text log-79,binary image-79,192.168.9.79,2001:0DB8:0000:0000:0000:0000:1428:1079,2015-05-18 15:26:49
|
|
80
|
+
80,160,2400000,3416.6666666666665,3375.0,char-80,text log-80,binary image-80,192.168.9.80,2001:0DB8:0000:0000:0000:0000:1428:1080,2015-05-18 15:26:10
|
|
81
|
+
81,162,2430000,3415.6378600823045,3374.4855967078192,char-81,text log-81,binary image-81,192.168.9.81,2001:0DB8:0000:0000:0000:0000:1428:1081,2015-05-18 15:26:11
|
|
82
|
+
82,164,2460000,3414.6341463414637,3373.9837398373984,char-82,text log-82,binary image-82,192.168.9.82,2001:0DB8:0000:0000:0000:0000:1428:1082,2015-05-18 15:26:12
|
|
83
|
+
83,166,2490000,3413.654618473896,3373.4939759036142,char-83,text log-83,binary image-83,192.168.9.83,2001:0DB8:0000:0000:0000:0000:1428:1083,2015-05-18 15:26:13
|
|
84
|
+
84,168,2520000,3412.698412698413,3373.0158730158732,char-84,text log-84,binary image-84,192.168.9.84,2001:0DB8:0000:0000:0000:0000:1428:1084,2015-05-18 15:26:14
|
|
85
|
+
85,170,2550000,3411.764705882353,3372.5490196078435,char-85,text log-85,binary image-85,192.168.9.85,2001:0DB8:0000:0000:0000:0000:1428:1085,2015-05-18 15:26:15
|
|
86
|
+
86,172,2580000,3410.8527131782944,3372.093023255814,char-86,text log-86,binary image-86,192.168.9.86,2001:0DB8:0000:0000:0000:0000:1428:1086,2015-05-18 15:26:16
|
|
87
|
+
87,174,2610000,3409.9616858237546,3371.647509578544,char-87,text log-87,binary image-87,192.168.9.87,2001:0DB8:0000:0000:0000:0000:1428:1087,2015-05-18 15:26:17
|
|
88
|
+
88,176,2640000,3409.090909090909,3371.212121212121,char-88,text log-88,binary image-88,192.168.9.88,2001:0DB8:0000:0000:0000:0000:1428:1088,2015-05-18 15:26:18
|
|
89
|
+
89,178,2670000,3408.239700374532,3370.7865168539324,char-89,text log-89,binary image-89,192.168.9.89,2001:0DB8:0000:0000:0000:0000:1428:1089,2015-05-18 15:26:19
|
|
90
|
+
90,180,2700000,3407.4074074074074,3370.3703703703704,char-90,text log-90,binary image-90,192.168.9.90,2001:0DB8:0000:0000:0000:0000:1428:1090,2015-05-18 15:26:20
|
|
91
|
+
91,182,2730000,3406.5934065934066,3369.96336996337,char-91,text log-91,binary image-91,192.168.9.91,2001:0DB8:0000:0000:0000:0000:1428:1091,2015-05-18 15:26:21
|
|
92
|
+
92,184,2760000,3405.7971014492755,3369.5652173913045,char-92,text log-92,binary image-92,192.168.9.92,2001:0DB8:0000:0000:0000:0000:1428:1092,2015-05-18 15:26:22
|
|
93
|
+
93,186,2790000,3405.0179211469535,3369.1756272401435,char-93,text log-93,binary image-93,192.168.9.93,2001:0DB8:0000:0000:0000:0000:1428:1093,2015-05-18 15:26:23
|
|
94
|
+
94,188,2820000,3404.255319148936,3368.7943262411345,char-94,text log-94,binary image-94,192.168.9.94,2001:0DB8:0000:0000:0000:0000:1428:1094,2015-05-18 15:26:24
|
|
95
|
+
95,190,2850000,3403.5087719298244,3368.4210526315787,char-95,text log-95,binary image-95,192.168.9.95,2001:0DB8:0000:0000:0000:0000:1428:1095,2015-05-18 15:26:25
|
|
96
|
+
96,192,2880000,3402.777777777778,3368.0555555555557,char-96,text log-96,binary image-96,192.168.9.96,2001:0DB8:0000:0000:0000:0000:1428:1096,2015-05-18 15:26:26
|
|
97
|
+
97,194,2910000,3402.0618556701033,3367.6975945017184,char-97,text log-97,binary image-97,192.168.9.97,2001:0DB8:0000:0000:0000:0000:1428:1097,2015-05-18 15:26:27
|
|
98
|
+
98,196,2940000,3401.3605442176868,3367.34693877551,char-98,text log-98,binary image-98,192.168.9.98,2001:0DB8:0000:0000:0000:0000:1428:1098,2015-05-18 15:26:28
|
|
99
|
+
99,198,2970000,3400.673400673401,3367.003367003367,char-99,text log-99,binary image-99,192.168.9.99,2001:0DB8:0000:0000:0000:0000:1428:1099,2015-05-18 15:26:29
|