You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d30a5f2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/language-extensions/how-to/extensibility-sdk-java-sql-server.md
+3-336Lines changed: 3 additions & 336 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: How to implement a Java program for SQL Server using the Microsoft
4
4
ms.prod: sql
5
5
ms.technology: machine-learning
6
6
7
-
ms.date: 05/22/2019
7
+
ms.date: 05/23/2019
8
8
ms.topic: conceptual
9
9
author: nelgson
10
10
ms.author: negust
@@ -39,7 +39,7 @@ The third class is a helper class, which contains an implementation of a data se
39
39
40
40
-**PrimitiveDataset**
41
41
42
-
Below you will find the details and source code for each class in the Java language extension for SQL Server.
42
+
Below you will find descriptions of each class in the SDK. The source code of the SDK classes is available in the following [Open Sourced on GitHub repository](https://github.com/microsoft/sql-server-language-extensions/tree/master/language-extensions/java/sdk).
43
43
44
44
## Class: AbstractSqlServerExtensionExecutor
45
45
@@ -73,352 +73,19 @@ The init method is executed after the constructor and before the execute method.
73
73
publicvoid init(String sessionId, int taskId, int numtask) {}
thrownewUnsupportedOperationException("addBinaryColumn is not implemented");
195
-
}
196
-
197
-
/**
198
-
* Retrieving column interfaces
199
-
*/
200
-
publicint[] getIntColumn(intcolumnId) {
201
-
thrownewUnsupportedOperationException("getIntColumn is not implemented");
202
-
}
203
-
204
-
publiclong[] getLongColumn(intcolumnId) {
205
-
thrownewUnsupportedOperationException("getLongColumn is not implemented");
206
-
}
207
-
208
-
publicfloat[] getFloatColumn(intcolumnId) {
209
-
thrownewUnsupportedOperationException("getFloatColumn is not implemented");
210
-
}
211
-
212
-
publicshort[] getShortColumn(intcolumnId) {
213
-
thrownewUnsupportedOperationException("getShortColumn is not implemented");
214
-
}
215
-
216
-
publicboolean[] getBooleanColumn(intcolumnId) {
217
-
thrownewUnsupportedOperationException("getBooleanColumn is not implemented");
218
-
}
219
-
220
-
publicdouble[] getDoubleColumn(intcolumnId) {
221
-
thrownewUnsupportedOperationException("getDoubleColumn is not implemented");
222
-
}
223
-
224
-
publicString[] getStringColumn(intcolumnId) {
225
-
thrownewUnsupportedOperationException("getStringColumn is not implemented");
226
-
}
227
-
228
-
publicbyte[][] getBinaryColumn(intcolumnId) {
229
-
thrownewUnsupportedOperationException("getBinaryColumn is not implemented");
230
-
}
231
-
}
232
-
```
233
80
234
81
## Class: PrimitiveDataset
235
82
236
83
The class **PrimitiveDataset** is an implementation of **AbstractSqlServerExtensionDataset** that stores simple types as primitives arrays.
237
84
238
85
It is provided in the SDK simply as an optional helper class. If you don't use this class, you need to implement your own class that inherits from **AbstractSqlServerExtensionDataset**.
239
86
240
-
Below you can find the source code for **PrimitiveDataset**.
0 commit comments